@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-03-07 14:53+0000\n "
14
+ "POT-Creation-Date : 2025-03-14 14:53+0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:33+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
17
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -139,12 +139,10 @@ msgstr "创建一个子进程。"
139
139
#: ../../library/asyncio-subprocess.rst:89
140
140
msgid ""
141
141
"The *limit* argument sets the buffer limit for :class:`StreamReader` "
142
- "wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` (if "
143
- ":const:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments)."
142
+ "wrappers for :attr:`~asyncio.subprocess.Process.stdout` and "
143
+ ":attr:`~asyncio.subprocess.Process.stderr` (if :const:`subprocess.PIPE` is "
144
+ "passed to *stdout* and *stderr* arguments)."
144
145
msgstr ""
145
- "*limit* 参数为 :attr:`Process.stdout` 和 :attr:`Process.stderr` 设置 "
146
- ":class:`StreamReader` 包装器的缓冲区上限(如果将 :const:`subprocess.PIPE` 传给 *stdout* 和 "
147
- "*stderr* 参数)。"
148
146
149
147
#: ../../library/asyncio-subprocess.rst:74
150
148
#: ../../library/asyncio-subprocess.rst:93
@@ -217,21 +215,16 @@ msgstr "可以被传递给 *stdin*, *stdout* 或 *stderr* 形参。"
217
215
msgid ""
218
216
"If *PIPE* is passed to *stdin* argument, the :attr:`Process.stdin "
219
217
"<asyncio.subprocess.Process.stdin>` attribute will point to a "
220
- ":class:`StreamWriter` instance."
218
+ ":class:`~asyncio. StreamWriter` instance."
221
219
msgstr ""
222
- "如果 *PIPE* 被传递给 *stdin* 参数,则 :attr:`Process.stdin "
223
- "<asyncio.subprocess.Process.stdin>` 属性将会指向一个 :class:`StreamWriter` 实例。"
224
220
225
221
#: ../../library/asyncio-subprocess.rst:137
226
222
msgid ""
227
223
"If *PIPE* is passed to *stdout* or *stderr* arguments, the "
228
224
":attr:`Process.stdout <asyncio.subprocess.Process.stdout>` and "
229
225
":attr:`Process.stderr <asyncio.subprocess.Process.stderr>` attributes will "
230
- "point to :class:`StreamReader` instances."
226
+ "point to :class:`~asyncio. StreamReader` instances."
231
227
msgstr ""
232
- "如果 *PIPE* 被传递给 *stdout* 或 *stderr* 参数,则 :attr:`Process.stdout "
233
- "<asyncio.subprocess.Process.stdout>` 和 :attr:`Process.stderr "
234
- "<asyncio.subprocess.Process.stderr>` 属性将会指向 :class:`StreamReader` 实例。"
235
228
236
229
#: ../../library/asyncio-subprocess.rst:145
237
230
msgid ""
@@ -265,11 +258,9 @@ msgstr ""
265
258
#: ../../library/asyncio-subprocess.rst:167
266
259
msgid ""
267
260
"An object that wraps OS processes created by the "
268
- ":func:`create_subprocess_exec` and :func:`create_subprocess_shell` "
269
- "functions."
261
+ ":func:`~asyncio. create_subprocess_exec` and "
262
+ ":func:`~asyncio.create_subprocess_shell` functions."
270
263
msgstr ""
271
- "一个用于包装 :func:`create_subprocess_exec` and :func:`create_subprocess_shell` "
272
- "函数创建的 OS 进程的对象。"
273
264
274
265
#: ../../library/asyncio-subprocess.rst:171
275
266
msgid ""
@@ -431,33 +422,31 @@ msgstr "杀掉子进程。"
431
422
432
423
#: ../../library/asyncio-subprocess.rst:266
433
424
msgid ""
434
- "On POSIX systems this method sends :py:data:`SIGKILL` to the child process."
435
- msgstr "在 POSIX 系统中此方法会发送 :py:data:`SIGKILL` 给子进程。"
425
+ "On POSIX systems this method sends :py:data:`~signal.SIGKILL` to the child "
426
+ "process."
427
+ msgstr ""
436
428
437
429
#: ../../library/asyncio-subprocess.rst:269
438
430
msgid "On Windows this method is an alias for :meth:`terminate`."
439
431
msgstr "在 Windows 上此方法是 :meth:`terminate` 的别名。"
440
432
441
433
#: ../../library/asyncio-subprocess.rst:273
442
434
msgid ""
443
- "Standard input stream (:class:`StreamWriter`) or ``None`` if the process was "
444
- " created with ``stdin=None``."
435
+ "Standard input stream (:class:`~asyncio. StreamWriter`) or ``None`` if the "
436
+ "process was created with ``stdin=None``."
445
437
msgstr ""
446
- "标准输入流 (:class:`StreamWriter`) 或者如果进程创建时设置了 ``stdin=None`` 则为 ``None``。"
447
438
448
439
#: ../../library/asyncio-subprocess.rst:278
449
440
msgid ""
450
- "Standard output stream (:class:`StreamReader`) or ``None`` if the process "
451
- "was created with ``stdout=None``."
441
+ "Standard output stream (:class:`~asyncio. StreamReader`) or ``None`` if the "
442
+ "process was created with ``stdout=None``."
452
443
msgstr ""
453
- "标准输出流 (:class:`StreamReader`) 或者如果进程创建时设置了 ``stdout=None`` 则为 ``None``。"
454
444
455
445
#: ../../library/asyncio-subprocess.rst:283
456
446
msgid ""
457
- "Standard error stream (:class:`StreamReader`) or ``None`` if the process was "
458
- " created with ``stderr=None``."
447
+ "Standard error stream (:class:`~asyncio. StreamReader`) or ``None`` if the "
448
+ "process was created with ``stderr=None``."
459
449
msgstr ""
460
- "标准错误流 (:class:`StreamReader`) 或者如果进程创建时设置了 ``stderr=None`` 则为 ``None``。"
461
450
462
451
#: ../../library/asyncio-subprocess.rst:288
463
452
msgid ""
@@ -476,11 +465,10 @@ msgstr "进程标识号(PID)。"
476
465
477
466
#: ../../library/asyncio-subprocess.rst:299
478
467
msgid ""
479
- "Note that for processes created by the :func:`create_subprocess_shell` "
480
- "function, this attribute is the PID of the spawned shell."
468
+ "Note that for processes created by the "
469
+ ":func:`~asyncio.create_subprocess_shell` function, this attribute is the PID"
470
+ " of the spawned shell."
481
471
msgstr ""
482
- "注意对于由Note that for processes created by the :func:`create_subprocess_shell` "
483
- "函数所创建的进程,这个属性将是所生成的 shell 的 PID。"
484
472
485
473
#: ../../library/asyncio-subprocess.rst:304
486
474
msgid "Return code of the process when it exits."
0 commit comments