@@ -92,7 +92,7 @@ msgstr ""
92
92
93
93
#: ../../glossary.rst:38
94
94
msgid "annotate function"
95
- msgstr ""
95
+ msgstr "annotate function -- 标注函数 "
96
96
97
97
#: ../../glossary.rst:40
98
98
msgid ""
@@ -102,6 +102,9 @@ msgid ""
102
102
"Annotate functions are a subset of :term:`evaluate functions <evaluate "
103
103
"function>`."
104
104
msgstr ""
105
+ "一个可被调用以提取对象的 :term:`标注 <annotation>` 的函数。 此函数可作为函数、类和模块的 "
106
+ ":attr:`~object.__annotate__` 属性来访问。 标注函数是 :term:`求值函数 <evaluate function>` "
107
+ "的一个子集。"
105
108
106
109
#: ../../glossary.rst:44
107
110
msgid "annotation"
@@ -120,13 +123,18 @@ msgid ""
120
123
"retrieved by calling :func:`annotationlib.get_annotations` on modules, "
121
124
"classes, and functions, respectively."
122
125
msgstr ""
126
+ "局部变量的标注在运行时不可被访问,但全局变量、类属性和函数的标注可分别通过在模块、类和函数上调用 "
127
+ ":func:`annotationlib.get_annotations` 来提取。"
123
128
124
129
#: ../../glossary.rst:55
125
130
msgid ""
126
131
"See :term:`variable annotation`, :term:`function annotation`, :pep:`484`, "
127
132
":pep:`526`, and :pep:`649`, which describe this functionality. Also see "
128
133
":ref:`annotations-howto` for best practices on working with annotations."
129
134
msgstr ""
135
+ "参见 :term:`variable annotation`, :term:`function annotation`, :pep:`484`, "
136
+ ":pep:`526` 和 :pep:`649`,其中对此功能进行了描述。 另请参见 :ref:`annotations-howto` "
137
+ "了解使用标注的最佳实践。"
130
138
131
139
#: ../../glossary.rst:59
132
140
msgid "argument"
@@ -299,11 +307,11 @@ msgstr ""
299
307
300
308
#: ../../glossary.rst:134
301
309
msgid "attached thread state"
302
- msgstr ""
310
+ msgstr "附带线程状态 "
303
311
304
312
#: ../../glossary.rst:137
305
313
msgid "A :term:`thread state` that is active for the current OS thread."
306
- msgstr ""
314
+ msgstr "为当前 OS 线程激活的 :term:`thread state`。 "
307
315
308
316
#: ../../glossary.rst:139
309
317
msgid ""
0 commit comments