File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1435,6 +1435,8 @@ msgid ""
14351435"``0x10FFFF``, depending on the configuration option that specified whether "
14361436"Unicode characters were stored as UCS-2 or UCS-4."
14371437msgstr ""
1438+ "在 :pep:`393` 之前,``sys.maxunicode`` 曾是 ``0xFFFF`` 或 "
1439+ "``0x10FFFF``,具体取决于配置选项,该选项指定将 Unicode 字符存储为 UCS-2 还是 UCS-4。"
14381440
14391441#: ../../library/sys.rst:907
14401442msgid ""
@@ -1481,6 +1483,10 @@ msgid ""
14811483" fallback if a :data:`meta_path` entry doesn't have a "
14821484":meth:`~importlib.abc.MetaPathFinder.find_spec` method."
14831485msgstr ""
1486+ "在 Python 3.4 中通过 :pep:`451` 引入了 :term:`模块规格 <module spec>`。早期版本的 Python "
1487+ "会寻找一个称为 :meth:`~importlib.abc.MetaPathFinder.find_module` 的方法。如果某个 "
1488+ ":data:`meta_path` 条目没有 :meth:`~importlib.abc.MetaPathFinder.find_spec` "
1489+ "方法,就会回退去调用前一种方法。"
14841490
14851491#: ../../library/sys.rst:936
14861492msgid ""
@@ -1490,13 +1496,16 @@ msgid ""
14901496" expected and deleting essential items from the dictionary may cause Python "
14911497"to fail."
14921498msgstr ""
1499+ "一个字典,将模块名称映射到已加载的模块。可以操作该字典来强制重新加载模块,或是实现其他技巧。但是,替换的字典不一定会按预期工作,并且从字典中删除必要的项目可能会导致"
1500+ " Python 崩溃。"
14931501
14941502#: ../../library/sys.rst:946
14951503msgid ""
14961504"A list of strings that specifies the search path for modules. Initialized "
14971505"from the environment variable :envvar:`PYTHONPATH`, plus an installation-"
14981506"dependent default."
14991507msgstr ""
1508+ "一个由字符串组成的列表,用于指定模块的搜索路径。初始化自环境变量 :envvar:`PYTHONPATH`,再加上一条与安装有关的默认路径。"
15001509
15011510#: ../../library/sys.rst:950
15021511msgid ""
You can’t perform that action at this time.
0 commit comments