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

Skip to content

Commit 3ccb558

Browse files
[po] auto sync
1 parent f92ae97 commit 3ccb558

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library/idle.po

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

13391343
#: ../../library/idle.rst:720
13401344
msgid ""
@@ -1353,6 +1357,9 @@ msgid ""
13531357
" be started in a command line window. The secondary subprocess will then be"
13541358
" attached to that window for input and output."
13551359
msgstr ""
1360+
"IDLE 的标准流替换不会被执行进程中创建的子进程所继承,不论它是由用户代码直接创建还是由 multiprocessing 之类的模块创建的。 "
1361+
"如果这样的子进程使用了 ``input`` 获取 sys.stdin 或者使用了 ``print`` 或 ``write`` 输出到 "
1362+
"sys.stdout 或 sys.stderr,则应当在命令行窗口中启动 IDLE。 这样二级子进程将会被附加到该窗口进行输出和输出。"
13561363

13571364
#: ../../library/idle.rst:732
13581365
msgid ""

0 commit comments

Comments
 (0)