@@ -33,7 +33,7 @@ msgid ""
33
33
msgstr ""
34
34
"Project-Id-Version : Python 3.13\n "
35
35
"Report-Msgid-Bugs-To : \n "
36
- "POT-Creation-Date : 2025-01-17 14:16 +0000\n "
36
+ "POT-Creation-Date : 2025-03-21 14:18 +0000\n "
37
37
"PO-Revision-Date : 2021-06-28 01:19+0000\n "
38
38
"Last-Translator : Freesand Leo <yuqinju@163.com>, 2025\n "
39
39
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1173,6 +1173,8 @@ msgid ""
1173
1173
"the module's :term:`spec <module spec>`, before the :term:`loader` executes "
1174
1174
"and loads the module."
1175
1175
msgstr ""
1176
+ "模块对象具有下列与 :ref:`导入系统 <importsystem>` 相关的属性。 当使用关联到导入系统的机制创建模块时,这些属性将在 "
1177
+ ":term:`loader` 执行和加载模块之前基于模块的 :term:`规格 <module spec>` 来填充。"
1176
1178
1177
1179
#: ../../reference/datamodel.rst:902
1178
1180
msgid ""
@@ -1240,10 +1242,12 @@ msgid ""
1240
1242
"Set to the :class:`module spec <importlib.machinery.ModuleSpec>` that was "
1241
1243
"used when importing the module. See :ref:`module-specs` for more details."
1242
1244
msgstr ""
1245
+ "设置为导入模块时使用的 :class:`模块规格 <importlib.machinery.ModuleSpec>`。 请参阅 "
1246
+ ":ref:`module-specs` 了解详情。"
1243
1247
1244
1248
#: ../../reference/datamodel.rst:950
1245
1249
msgid "The :term:`package` a module belongs to."
1246
- msgstr ""
1250
+ msgstr "模块所属的 :term:`package`。 "
1247
1251
1248
1252
#: ../../reference/datamodel.rst:952
1249
1253
msgid ""
@@ -1571,6 +1575,8 @@ msgid ""
1571
1575
"collected during class body execution. For best practices on working with "
1572
1576
":attr:`!__annotations__`, please see :ref:`annotations-howto`."
1573
1577
msgstr ""
1578
+ "包含在类体执行期间收集的 :term:`变量标 <variable annotation>` 的字典。 有关使用 "
1579
+ ":attr:`!__annotations__` 的最佳实践,请参阅 :ref:`annotations-howto`。"
1574
1580
1575
1581
#: ../../reference/datamodel.rst:1206
1576
1582
msgid ""
@@ -3445,7 +3451,7 @@ msgstr ""
3445
3451
msgid ""
3446
3452
":attr:`~object.__class__` assignment works only if both classes have the "
3447
3453
"same *__slots__*."
3448
- msgstr ""
3454
+ msgstr ":attr:`~object.__class__` 赋值仅在两个类具有相同的 *__slots__* 时才会起作用。 "
3449
3455
3450
3456
#: ../../reference/datamodel.rst:2585
3451
3457
msgid ""
@@ -3883,6 +3889,8 @@ msgid ""
3883
3889
"object is discarded. The new copy is wrapped in a read-only proxy, which "
3884
3890
"becomes the :attr:`~type.__dict__` attribute of the class object."
3885
3891
msgstr ""
3892
+ "当通过 ``type.__new__`` 创建新类时,作为命令空间形参提供的对象会被拷贝到一个新的有序映射并丢弃原始对象。 "
3893
+ "这个新拷贝包装在一个只读代理中,该代理会成为类对象的 :attr:`~type.__dict__` 属性。"
3886
3894
3887
3895
#: ../../reference/datamodel.rst:2852
3888
3896
msgid ":pep:`3135` - New super"
@@ -4658,6 +4666,7 @@ msgid ""
4658
4666
"For more information on context managers, see :ref:`typecontextmanager`. The"
4659
4667
" :class:`object` class itself does not provide the context manager methods."
4660
4668
msgstr ""
4669
+ "有关上下文管理器的更多信息,请参阅 :ref:`typecontextmanager`。 :class:`object` 类本身不提供上下文管理器方法。"
4661
4670
4662
4671
#: ../../reference/datamodel.rst:3438
4663
4672
msgid ""
@@ -4991,6 +5000,9 @@ msgid ""
4991
5000
":class:`object` class itself is not awaitable and does not provide this "
4992
5001
"method."
4993
5002
msgstr ""
5003
+ "必须返回一个 :term:`iterator`。 应当被用来实现 :term:`awaitable` 对象。 "
5004
+ "例如,:class:`asyncio.Future` 实现了此方法以与 :keyword:`await` 表达式兼容。 :class:`object` "
5005
+ "类本身不是可等待对象因而不提供此方法。"
4994
5006
4995
5007
#: ../../reference/datamodel.rst:3643
4996
5008
msgid ""
@@ -5109,7 +5121,7 @@ msgstr "异步迭代器可在 :keyword:`async for` 语句中使用。"
5109
5121
5110
5122
#: ../../reference/datamodel.rst:3725 ../../reference/datamodel.rst:3774
5111
5123
msgid "The :class:`object` class itself does not provide these methods."
5112
- msgstr ""
5124
+ msgstr ":class:`object` 类本身不提供这些方法。 "
5113
5125
5114
5126
#: ../../reference/datamodel.rst:3730
5115
5127
msgid "Must return an *asynchronous iterator* object."
@@ -5727,7 +5739,7 @@ msgstr "__name__ (模块属性)"
5727
5739
5728
5740
#: ../../reference/datamodel.rst:879
5729
5741
msgid "__spec__ (module attribute)"
5730
- msgstr ""
5742
+ msgstr "__spec__ (模块属性) "
5731
5743
5732
5744
#: ../../reference/datamodel.rst:879
5733
5745
msgid "__package__ (module attribute)"
@@ -5739,7 +5751,7 @@ msgstr "__loader__ (模块属性)"
5739
5751
5740
5752
#: ../../reference/datamodel.rst:879
5741
5753
msgid "__path__ (module attribute)"
5742
- msgstr ""
5754
+ msgstr "__path__ (模块属性) "
5743
5755
5744
5756
#: ../../reference/datamodel.rst:879
5745
5757
msgid "__file__ (module attribute)"
0 commit comments