File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1464,6 +1464,8 @@ msgid ""
14641464"screen will not work. These include system-specific functions that "
14651465"determine whether a key has been pressed and if so, which."
14661466msgstr ""
1467+ "当 Shell 获得焦点时,它将控制键盘与屏幕。 这通常会保持透明,但一些直接访问键盘和屏幕的函数将会不起作用。 "
1468+ "这也包括那些确定是否有键被按下以及是哪个键被按下的系统专属函数。"
14671469
14681470#: ../../library/idle.rst:775
14691471msgid ""
@@ -1472,12 +1474,14 @@ msgid ""
14721474"and ``sys.setrecursionlimit`` to reduce the effect of the additional stack "
14731475"frames."
14741476msgstr ""
1477+ "在执行进程中运行的 IDLE 代码会向调用栈添加在其他情况下不存在的帧。 IDLE 包装了 ``sys.getrecursionlimit`` 和 "
1478+ "``sys.setrecursionlimit`` 以减少额外栈帧的影响。"
14751479
14761480#: ../../library/idle.rst:780
14771481msgid ""
14781482"When user code raises SystemExit either directly or by calling sys.exit, "
14791483"IDLE returns to a Shell prompt instead of exiting."
1480- msgstr ""
1484+ msgstr "当用户代码直接或者通过调用 sys.exit 引发 SystemExit 时,IDLE 将返回 Shell 提示符而非完全退出。 "
14811485
14821486#: ../../library/idle.rst:784
14831487msgid "User output in Shell"
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ msgid ""
317317"namespaces, and how :keyword:`global` and :keyword:`nonlocal` affect "
318318"variable binding::"
319319msgstr ""
320- "这个例子演示了如何引用不同作用域和名称空间 ,以及 :keyword:`global` 和 :keyword:`nonlocal` 会如何影响变量绑定:: "
320+ "下例演示了如何引用不同作用域和名称空间 ,以及 :keyword:`global` 和 :keyword:`nonlocal` 对变量绑定的影响: "
321321
322322#: ../../tutorial/classes.rst:191
323323msgid "The output of the example code is:"
You can’t perform that action at this time.
0 commit comments