@@ -17,7 +17,7 @@ msgid ""
17
17
msgstr ""
18
18
"Project-Id-Version : Python 3.9\n "
19
19
"Report-Msgid-Bugs-To : \n "
20
- "POT-Creation-Date : 2025-04-25 16:43 +0000\n "
20
+ "POT-Creation-Date : 2025-05-02 16:40 +0000\n "
21
21
"PO-Revision-Date : 2017-02-16 23:44+0000\n "
22
22
"Last-Translator : Freesand Leo <yuqinju@163.com>, 2025\n "
23
23
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1064,13 +1064,17 @@ msgid ""
1064
1064
"existence of the attribute. Until such time, though, import is setting the "
1065
1065
"module post-load."
1066
1066
msgstr ""
1067
+ "另一个变化是所有模块都具有 ``__loader__`` 属性,它储存被用于创建该模块的加载器。 :pep:`302` "
1068
+ "已被更新以强制要求加载器实现该属性,因此未来的第 3 方加载器一旦被更新人们将能确定该属性的存在。 但在此之前,import 都需要在加载之后设置模块。"
1067
1069
1068
1070
#: ../../whatsnew/3.3.rst:759
1069
1071
msgid ""
1070
1072
"Loaders are also now expected to set the ``__package__`` attribute from "
1071
1073
":pep:`366`. Once again, import itself is already setting this on all loaders"
1072
1074
" from :mod:`importlib` and import itself is setting the attribute post-load."
1073
1075
msgstr ""
1076
+ "加载器现在还需要根据 :pep:`366` 设置 ``__package__`` 属性。 同样地,import 本身已经在所有来自 "
1077
+ ":mod:`importlib` 的加载器上设置了该属性并且 import 是在加载之后自行设置该属性。"
1074
1078
1075
1079
#: ../../whatsnew/3.3.rst:763
1076
1080
msgid ""
@@ -1086,6 +1090,8 @@ msgid ""
1086
1090
"consideration when updating code for Python 3.3, and thus should be read "
1087
1091
"about in the `Porting Python code`_ section of this document."
1088
1092
msgstr ""
1093
+ "有关语法变化的所有其他修改在为 Python 3.3 更新代码时都应当被纳入考虑,因此应当仔细阅读本文档的 `Porting Python code`_"
1094
+ " 章节。"
1089
1095
1090
1096
#: ../../whatsnew/3.3.rst:772
1091
1097
msgid "(Implementation by Brett Cannon)"
0 commit comments