Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d63b6e2

Browse files
[po] auto sync
1 parent cf36571 commit d63b6e2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

library/sys.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,6 +2058,9 @@ msgid ""
20582058
"using :func:`settrace` for each thread being debugged or use "
20592059
":func:`threading.settrace`."
20602060
msgstr ""
2061+
"设置系统的跟踪函数,使得用户在 Python 中就可以实现 Python "
2062+
"源代码调试器。该函数是特定于单个线程的,所以要让调试器支持多线程,必须为正在调试的每个线程都用 :func:`settrace` "
2063+
"注册一个跟踪函数,或使用 :func:`threading.settrace`。"
20612064

20622065
#: ../../library/sys.rst:1291
20632066
msgid ""
@@ -2066,6 +2069,9 @@ msgid ""
20662069
"``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``. *arg* depends on"
20672070
" the event type."
20682071
msgstr ""
2072+
"跟踪函数应接收三个参数:*frame*、*event* 和 *arg*。*frame* 是当前的堆栈帧。*event* "
2073+
"是一个字符串:``'call'``、``'line'``、``'return'``、``'exception'`` 或 "
2074+
"``'opcode'``。*arg* 取决于事件类型。"
20692075

20702076
#: ../../library/sys.rst:1296
20712077
msgid ""

0 commit comments

Comments
 (0)