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

Skip to content

Commit 4254a49

Browse files
[po] auto sync
1 parent 82ac701 commit 4254a49

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
@@ -566,7 +566,7 @@ msgstr "从 ``sys.modules`` 移除名为 *module_name* 的模块并删除该模
566566

567567
#: ../../library/test.rst:454
568568
msgid "Delete *name* from ``sys.modules``."
569-
msgstr ""
569+
msgstr "从 ``sys.modules`` 中删除 *name*。"
570570

571571
#: ../../library/test.rst:459
572572
msgid ""
@@ -594,6 +594,8 @@ msgid ""
594594
"file system path to the source file. It does not need to exist, however the"
595595
" PEP 3147/488 pyc file must exist."
596596
msgstr ""
597+
"将 :pep:`3147`/:pep:`488` pyc 文件移至旧版 pyc 位置并返回该旧版 pyc 文件的文件系统路径。 *source* "
598+
"的值是源文件的文件系统路径。 它不必真实存在,但是 PEP 3147/488 pyc 文件必须存在。"
597599

598600
#: ../../library/test.rst:486
599601
msgid ""
@@ -1208,7 +1210,7 @@ msgid ""
12081210
"This function imports and returns the named module. Unlike a normal import, "
12091211
"this function raises :exc:`unittest.SkipTest` if the module cannot be "
12101212
"imported."
1211-
msgstr ""
1213+
msgstr "此函数会导入并返回指定名称的模块。 不同于正常的导入,如果模块无法被导入则此函数将引发 :exc:`unittest.SkipTest`。"
12121214

12131215
#: ../../library/test.rst:1058
12141216
msgid ""
@@ -1217,6 +1219,9 @@ msgid ""
12171219
"optional for others, set *required_on* to an iterable of platform prefixes "
12181220
"which will be compared against :data:`sys.platform`."
12191221
msgstr ""
1222+
"如果 *deprecated* 为 ``True`` 则在此导入操作期间模块和包的弃用消息会被屏蔽。 "
1223+
"如果某个模块在特定平台上是必需的而在其他平台上是可选的,请为包含平台前缀的可迭代对象设置 *required_on*,此对象将与 "
1224+
":data:`sys.platform` 进行比对。"
12201225

12211226
#: ../../library/test.rst:1068
12221227
msgid ""
@@ -1240,39 +1245,43 @@ msgid ""
12401245
"the module cache during the import to ensure that attempts to import them "
12411246
"raise :exc:`ImportError`."
12421247
msgstr ""
1248+
"*blocked* 是包含模块名称的可迭代对象,导入期间在模块缓存中它会被替换为 ``None`` 以确保尝试导入将引发 "
1249+
":exc:`ImportError`。"
12431250

12441251
#: ../../library/test.rst:1080
12451252
msgid ""
12461253
"The named module and any modules named in the *fresh* and *blocked* "
12471254
"parameters are saved before starting the import and then reinserted into "
12481255
"``sys.modules`` when the fresh import is complete."
12491256
msgstr ""
1257+
"指定名称的模块以及任何在 *fresh* 和 *blocked* 形参中指明的模块会在开始导入之前被保存并在全新导入完成时被重新插入到 "
1258+
"``sys.modules`` 中。"
12501259

12511260
#: ../../library/test.rst:1084
12521261
msgid ""
12531262
"Module and package deprecation messages are suppressed during this import if"
12541263
" *deprecated* is ``True``."
1255-
msgstr ""
1264+
msgstr "如果 *deprecated* 为 ``True`` 则在此导入操作期间模块和包的弃用消息会被屏蔽。"
12561265

12571266
#: ../../library/test.rst:1087
12581267
msgid ""
12591268
"This function will raise :exc:`ImportError` if the named module cannot be "
12601269
"imported."
1261-
msgstr ""
1270+
msgstr "如果指定名称的模块无法被导入则此函数将引发 :exc:`ImportError`."
12621271

12631272
#: ../../library/test.rst:1090 ../../library/test.rst:1283
12641273
msgid "Example use::"
12651274
msgstr "用法示例::"
12661275

12671276
#: ../../library/test.rst:1104
12681277
msgid "Return a copy of :data:`sys.modules`."
1269-
msgstr ""
1278+
msgstr "返回 :data:`sys.modules` 的副本。"
12701279

12711280
#: ../../library/test.rst:1109
12721281
msgid ""
12731282
"Remove modules except for *oldmodules* and ``encodings`` in order to "
12741283
"preserve internal cache."
1275-
msgstr ""
1284+
msgstr "移除 *oldmodules* 和 ``encodings`` 以外的模块以保留内部缓冲区。"
12761285

12771286
#: ../../library/test.rst:1115
12781287
msgid "Return current thread count and copy of dangling threads."

0 commit comments

Comments
 (0)