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

Skip to content

Commit 63bf458

Browse files
[po] auto sync
1 parent cd75f45 commit 63bf458

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

library/idle.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,10 @@ msgid ""
14141414
"original values stored in ``sys.__stdin__``, ``sys.__stdout__``, and "
14151415
"``sys.__stderr__`` are not touched, but may be ``None``."
14161416
msgstr ""
1417+
"在默认情况下,IDLE 会在单独的 OS 进程中运行用户代码而不是在运行 Shell 和编辑器的用户界面进程中运行。 在执行进程中,它会将 "
1418+
"``sys.stdin``, ``sys.stdout`` 和 ``sys.stderr`` 替换为从 Shell 窗口获取输入并向其发送输出的对象。 "
1419+
"保存在 ``sys.__stdin__``, ``sys.__stdout__`` 和 ``sys.__stderr__`` "
1420+
"中的原始值不会被改变,但可能会为 ``None``。"
14171421

14181422
#: ../../library/idle.rst:750
14191423
msgid ""
@@ -1426,6 +1430,10 @@ msgid ""
14261430
"single string. Both format strings and :meth:`str.join` can help combine "
14271431
"fields and lines."
14281432
msgstr ""
1433+
"将打印输出从一个进程发送到另一个进程中的文本部件要比打印到同一个进程中的系统终端慢。 "
1434+
"这在打印多个参数时将有更明显的影响,因为每个参数、每个分隔符和换行符对应的字符串都要单独发送。 在开发中,这通常不算是问题,但如果希望能在 IDLE "
1435+
"中更快地打印,可以将想要显示的所有内容先格式化并拼接到一起然后打印单个字符串。 格式字符串和 :meth:`str.join` "
1436+
"都可以被用于合并字段和文本行。"
14291437

14301438
#: ../../library/idle.rst:759
14311439
msgid ""
@@ -1436,13 +1444,18 @@ msgid ""
14361444
" be started in a command line window. The secondary subprocess will then be"
14371445
" attached to that window for input and output."
14381446
msgstr ""
1447+
"IDLE 的标准流替换不会被执行进程中创建的子进程所继承,不论它是由用户代码直接创建还是由 multiprocessing 之类的模块创建的。 "
1448+
"如果这样的子进程使用了 ``input`` 获取 sys.stdin 或者使用了 ``print`` 或 ``write`` 输出到 "
1449+
"sys.stdout 或 sys.stderr,则应当在命令行窗口中启动 IDLE。 这样二级子进程将会被附加到该窗口进行输出和输出。"
14391450

14401451
#: ../../library/idle.rst:766
14411452
msgid ""
14421453
"If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, "
14431454
"IDLE's changes are lost and input from the keyboard and output to the screen"
14441455
" will not work correctly."
14451456
msgstr ""
1457+
"如果 ``sys`` 被用户代码重置,例如使用了 ``importlib.reload(sys)``,则 IDLE "
1458+
"的修改将丢失,来自键盘的输入和向屏幕的输出将无法正确运作。"
14461459

14471460
#: ../../library/idle.rst:770
14481461
msgid ""

0 commit comments

Comments
 (0)