File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version : Python 3.8\n "
1919"Report-Msgid-Bugs-To : \n "
20- "POT-Creation-Date : 2020-07 -30 14:42 +0000\n "
20+ "POT-Creation-Date : 2020-08 -30 14:57 +0000\n "
2121"PO-Revision-Date : 2020-05-30 11:59+0000\n "
2222"
Last-Translator :
Freesand Leo <[email protected] >, 2020\n "
2323"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -828,7 +828,7 @@ msgstr ""
828828#: ../../library/curses.rst:684
829829msgid ""
830830"Paint character *ch* at ``(y, x)`` with attributes *attr*, overwriting any "
831- "character previously painter at that location. By default, the character "
831+ "character previously painted at that location. By default, the character "
832832"position and attributes are the current settings for the window object."
833833msgstr ""
834834
Original file line number Diff line number Diff line change @@ -2180,6 +2180,11 @@ msgid ""
21802180"overhead tracing function that simply returns ``None`` to disable itself "
21812181"immediately on each frame)."
21822182msgstr ""
2183+ "更细微的用法是,可以显式地通过赋值 ``frame.f_trace = tracefunc`` "
2184+ "来设置跟踪函数,而不是用现有跟踪函数的返回值去间接设置它。当前帧上的跟踪函数必须激活,而 :func:`settrace` "
2185+ "还没有做这件事。注意,为了使上述设置起效,必须使用 :func:`settrace` "
2186+ "来安装全局跟踪函数才能启用运行时跟踪机制,但是它不必与上述是同一个跟踪函数(它可以是一个开销很低的跟踪函数,只返回 "
2187+ "``None``,即在各个帧上立即将其自身禁用)。"
21832188
21842189#: ../../library/sys.rst:1357
21852190msgid "For more information on code and frame objects, refer to :ref:`types`."
You can’t perform that action at this time.
0 commit comments