66# Translators:
7788# ppcfish <[email protected] >, 20219- # helloworldSB <[email protected] >, 2021 9+ # Yifan Sun, 2022
1010#
1111#, fuzzy
1212msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515"Report-Msgid-Bugs-To : \n "
1616"POT-Creation-Date : 2021-08-05 13:13+0000\n "
1717"PO-Revision-Date : 2021-06-28 00:49+0000\n "
18- "
Last-Translator :
helloworldSB <[email protected] >, 2021 \n"
18+ "Last-Translator : Yifan Sun, 2022 \n "
1919"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2020"MIME-Version : 1.0\n "
2121"Content-Type : text/plain; charset=UTF-8\n "
@@ -32,18 +32,20 @@ msgid ""
3232"This instance of :c:type:`PyTypeObject` represents the Python module type. "
3333"This is exposed to Python programs as ``types.ModuleType``."
3434msgstr ""
35+ "这个 C 类型实例 :c:type:`PyTypeObject` 用来表示Python中的模块类型。在 Python "
36+ "程序中该实例被暴露为``types.ModuleType``。"
3537
3638#: ../../c-api/module.rst:21
3739msgid ""
3840"Return true if *p* is a module object, or a subtype of a module object. This"
3941" function always succeeds."
40- msgstr ""
42+ msgstr "当 *p* 为模块类型的对象,或是模块子类型的对象时返回真值。该函数永远有返回值。 "
4143
4244#: ../../c-api/module.rst:27
4345msgid ""
4446"Return true if *p* is a module object, but not a subtype of "
4547":c:data:`PyModule_Type`. This function always succeeds."
46- msgstr ""
48+ msgstr "当 *p* 为模块类型的对象且不是 :c:data:`PyModule_Type` 的子类型的对象时返回真值。该函数永远有返回值。 "
4749
4850#: ../../c-api/module.rst:40
4951msgid ""
@@ -53,16 +55,19 @@ msgid ""
5355"are set to ``None``); the caller is responsible for providing a "
5456":attr:`__file__` attribute."
5557msgstr ""
58+ "返回新的模块对象,其属性 :attr:`__name__` 为 *name* 。模块的如下属性 :attr:`__name__`, "
59+ ":attr:`__doc__`, :attr:`__package__`, and :attr:`__loader__` 都会被自动填充。(所有属性除了"
60+ " :attr:`__name__` 都被设为``None``)。调用时应当提供 :attr:`__file__` 属性。 "
5661
5762#: ../../c-api/module.rst:48
5863msgid ":attr:`__package__` and :attr:`__loader__` are set to ``None``."
59- msgstr ""
64+ msgstr "属性 :attr:`__package__` 和 :attr:`__loader__` 被设为``None``。 "
6065
6166#: ../../c-api/module.rst:54
6267msgid ""
6368"Similar to :c:func:`PyModule_NewObject`, but the name is a UTF-8 encoded "
6469"string instead of a Unicode object."
65- msgstr ""
70+ msgstr "这类似于 :c:func:`PyModule_NewObject`, 但其名称为 UTF-8 编码的字符串而不是 Unicode 对象。 "
6671
6772#: ../../c-api/module.rst:62
6873msgid ""
@@ -647,7 +652,7 @@ msgstr ""
647652
648653#: ../../c-api/module.rst:613 ../../c-api/module.rst:624
649654msgid "The caller must hold the GIL."
650- msgstr "呼叫者必须持有GIL 。"
655+ msgstr "调用时必须携带GIL 。"
651656
652657#: ../../c-api/module.rst:615
653658msgid "Return 0 on success or -1 on failure."
0 commit comments