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

Skip to content

Commit 12a2a2c

Browse files
[po] auto sync
1 parent d1b8a83 commit 12a2a2c

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

library/test.po

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ msgstr "从 ``sys.modules`` 移除名为 *module_name* 的模块并删除该模
458458

459459
#: ../../library/test.rst:392
460460
msgid "Delete *name* from ``sys.modules``."
461-
msgstr ""
461+
msgstr "从 ``sys.modules`` 中删除 *name*。"
462462

463463
#: ../../library/test.rst:397
464464
msgid ""
@@ -486,6 +486,8 @@ msgid ""
486486
"file system path to the source file. It does not need to exist, however the"
487487
" PEP 3147/488 pyc file must exist."
488488
msgstr ""
489+
"将 :pep:`3147`/:pep:`488` pyc 文件移至旧版 pyc 位置并返回该旧版 pyc 文件的文件系统路径。 *source* "
490+
"的值是源文件的文件系统路径。 它不必真实存在,但是 PEP 3147/488 pyc 文件必须存在。"
489491

490492
#: ../../library/test.rst:424
491493
msgid ""
@@ -1089,7 +1091,7 @@ msgid ""
10891091
"This function imports and returns the named module. Unlike a normal import, "
10901092
"this function raises :exc:`unittest.SkipTest` if the module cannot be "
10911093
"imported."
1092-
msgstr ""
1094+
msgstr "此函数会导入并返回指定名称的模块。 不同于正常的导入,如果模块无法被导入则此函数将引发 :exc:`unittest.SkipTest`。"
10931095

10941096
#: ../../library/test.rst:991
10951097
msgid ""
@@ -1098,6 +1100,9 @@ msgid ""
10981100
"optional for others, set *required_on* to an iterable of platform prefixes "
10991101
"which will be compared against :data:`sys.platform`."
11001102
msgstr ""
1103+
"如果 *deprecated* 为 ``True`` 则在此导入操作期间模块和包的弃用消息会被屏蔽。 "
1104+
"如果某个模块在特定平台上是必需的而在其他平台上是可选的,请为包含平台前缀的可迭代对象设置 *required_on*,此对象将与 "
1105+
":data:`sys.platform` 进行比对。"
11011106

11021107
#: ../../library/test.rst:1001
11031108
msgid ""
@@ -1121,39 +1126,43 @@ msgid ""
11211126
"the module cache during the import to ensure that attempts to import them "
11221127
"raise :exc:`ImportError`."
11231128
msgstr ""
1129+
"*blocked* 是包含模块名称的可迭代对象,导入期间在模块缓存中它会被替换为 ``None`` 以确保尝试导入将引发 "
1130+
":exc:`ImportError`。"
11241131

11251132
#: ../../library/test.rst:1013
11261133
msgid ""
11271134
"The named module and any modules named in the *fresh* and *blocked* "
11281135
"parameters are saved before starting the import and then reinserted into "
11291136
"``sys.modules`` when the fresh import is complete."
11301137
msgstr ""
1138+
"指定名称的模块以及任何在 *fresh* 和 *blocked* 形参中指明的模块会在开始导入之前被保存并在全新导入完成时被重新插入到 "
1139+
"``sys.modules`` 中。"
11311140

11321141
#: ../../library/test.rst:1017
11331142
msgid ""
11341143
"Module and package deprecation messages are suppressed during this import if"
11351144
" *deprecated* is ``True``."
1136-
msgstr ""
1145+
msgstr "如果 *deprecated* 为 ``True`` 则在此导入操作期间模块和包的弃用消息会被屏蔽。"
11371146

11381147
#: ../../library/test.rst:1020
11391148
msgid ""
11401149
"This function will raise :exc:`ImportError` if the named module cannot be "
11411150
"imported."
1142-
msgstr ""
1151+
msgstr "如果指定名称的模块无法被导入则此函数将引发 :exc:`ImportError`."
11431152

11441153
#: ../../library/test.rst:1023 ../../library/test.rst:1264
11451154
msgid "Example use::"
11461155
msgstr "用法示例::"
11471156

11481157
#: ../../library/test.rst:1037
11491158
msgid "Return a copy of :data:`sys.modules`."
1150-
msgstr ""
1159+
msgstr "返回 :data:`sys.modules` 的副本。"
11511160

11521161
#: ../../library/test.rst:1042
11531162
msgid ""
11541163
"Remove modules except for *oldmodules* and ``encodings`` in order to "
11551164
"preserve internal cache."
1156-
msgstr ""
1165+
msgstr "移除 *oldmodules* 和 ``encodings`` 以外的模块以保留内部缓冲区。"
11571166

11581167
#: ../../library/test.rst:1048
11591168
msgid "Return current thread count and copy of dangling threads."

0 commit comments

Comments
 (0)