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

Skip to content

Commit 4c90342

Browse files
[po] auto sync
1 parent e11dd1c commit 4c90342

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

library/test.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ msgstr ":mod:`test.support` 模块定义了以下函数:"
454454
msgid ""
455455
"Remove the module named *module_name* from ``sys.modules`` and delete any "
456456
"byte-compiled files of the module."
457-
msgstr ""
457+
msgstr "从 ``sys.modules`` 移除名为 *module_name* 的模块并删除该模块的已编译字节码文件。"
458458

459459
#: ../../library/test.rst:392
460460
msgid "Delete *name* from ``sys.modules``."
@@ -746,7 +746,7 @@ msgstr "使用输入流的示例::"
746746
msgid ""
747747
"A context manager that creates a temporary directory at *path* and yields "
748748
"the directory."
749-
msgstr ""
749+
msgstr "一个在 *path* 上创建临时目录并输出该目录的上下文管理器。"
750750

751751
#: ../../library/test.rst:671
752752
msgid ""
@@ -755,6 +755,8 @@ msgid ""
755755
"raises an exception on error. Otherwise, if *path* is specified and cannot "
756756
"be created, only a warning is issued."
757757
msgstr ""
758+
"如果 *path* 为 ``None``,则会使用 :func:`tempfile.mkdtemp` 来创建临时目录。 如果 *quiet* 为 "
759+
"``False``,则该上下文管理器在发生错误时会引发一个异常。 在其他情况下,如果 *path* 已被指定并且无法创建,则只会发出一个警告。"
758760

759761
#: ../../library/test.rst:679
760762
msgid ""
@@ -792,10 +794,11 @@ msgid ""
792794
"an error is raised. Otherwise, only a warning is raised and the original "
793795
"CWD is used."
794796
msgstr ""
797+
"如果 *quiet* 为 ``False`` 并且无法创建或修改 CWD,则会引发一个错误。 在其他情况下,只会引发一个警告并使用原始 CWD。"
795798

796799
#: ../../library/test.rst:704
797800
msgid "A context manager that temporarily sets the process umask."
798-
msgstr ""
801+
msgstr "一个临时性地设置进程掩码的上下文管理器。"
799802

800803
#: ../../library/test.rst:709
801804
msgid ""
@@ -1103,12 +1106,14 @@ msgid ""
11031106
"Note that unlike :func:`reload`, the original module is not affected by this"
11041107
" operation."
11051108
msgstr ""
1109+
"此函数会在执行导入之前通过从 ``sys.modules`` 移除指定模块来导入并返回指定 Python 模块的新副本。 请注意这不同于 "
1110+
":func:`reload`,原来的模块不会受到此操作的影响。"
11061111

11071112
#: ../../library/test.rst:1006
11081113
msgid ""
11091114
"*fresh* is an iterable of additional module names that are also removed from"
11101115
" the ``sys.modules`` cache before doing the import."
1111-
msgstr ""
1116+
msgstr "*fresh* 是包含在执行导入之前还要从 ``sys.modules`` 缓存中移除的附加模块名称的可迭代对象。"
11121117

11131118
#: ../../library/test.rst:1009
11141119
msgid ""

0 commit comments

Comments
 (0)