66# Translators:
7788# helloworldSB <[email protected] >, 20219+ # Yifan Sun, 2022
10+ # Freesand Leo <[email protected] >, 2022911#
1012#, fuzzy
1113msgid ""
@@ -14,7 +16,7 @@ msgstr ""
1416"Report-Msgid-Bugs-To : \n "
1517"POT-Creation-Date : 2021-08-05 07:09+0000\n "
1618"PO-Revision-Date : 2017-02-16 17:37+0000\n "
17- "Last-Translator : helloworldSB <warningfor163@foxmail .com>, 2021 \n "
19+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2022 \n "
1820"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1921"MIME-Version : 1.0\n "
2022"Content-Type : text/plain; charset=UTF-8\n "
@@ -31,18 +33,20 @@ msgid ""
3133"This instance of :c:type:`PyTypeObject` represents the Python module type. "
3234"This is exposed to Python programs as ``types.ModuleType``."
3335msgstr ""
36+ "这个 :c:type:`PyTypeObject` 的实例代表 Python 模块类型。 它以 ``types.ModuleType`` 的形式暴露给 "
37+ "Python 程序。"
3438
3539#: ../../c-api/module.rst:21
3640msgid ""
3741"Return true if *p* is a module object, or a subtype of a module object. This"
3842" function always succeeds."
39- msgstr ""
43+ msgstr "当 *p* 为模块类型的对象,或是模块子类型的对象时返回真。该函数永远有返回。 "
4044
4145#: ../../c-api/module.rst:27
4246msgid ""
4347"Return true if *p* is a module object, but not a subtype of "
4448":c:data:`PyModule_Type`. This function always succeeds."
45- msgstr ""
49+ msgstr "当 *p* 为模块对象且不是 :c:data:`PyModule_Type` 的子类型的对象时返回真值。该函数永远有返回值。 "
4650
4751#: ../../c-api/module.rst:40
4852msgid ""
@@ -52,16 +56,19 @@ msgid ""
5256"are set to ``None``); the caller is responsible for providing a "
5357":attr:`__file__` attribute."
5458msgstr ""
59+ "返回新的模块对象,其属性 :attr:`__name__` 为 *name* 。模块的这些属性 :attr:`__name__`, "
60+ ":attr:`__doc__`, :attr:`__package__`, and :attr:`__loader__` (所有属性除了 "
61+ ":attr:`__name__` 都被设为``None``)。调用时应当提供 :attr:`__file__` 属性。 "
5562
5663#: ../../c-api/module.rst:48
5764msgid ":attr:`__package__` and :attr:`__loader__` are set to ``None``."
58- msgstr ""
65+ msgstr "属性 :attr:`__package__` 和 :attr:`__loader__` 被设为``None``。 "
5966
6067#: ../../c-api/module.rst:54
6168msgid ""
6269"Similar to :c:func:`PyModule_NewObject`, but the name is a UTF-8 encoded "
6370"string instead of a Unicode object."
64- msgstr ""
71+ msgstr "这类似于 :c:func:`PyModule_NewObject`, 但其名称为 UTF-8 编码的字符串而不是 Unicode 对象。 "
6572
6673#: ../../c-api/module.rst:62
6774msgid ""
@@ -157,7 +164,7 @@ msgstr ""
157164
158165#: ../../c-api/module.rst:152
159166msgid "Name for the new module."
160- msgstr ""
167+ msgstr "新模块的名称。 "
161168
162169#: ../../c-api/module.rst:156
163170msgid ""
0 commit comments