8000 [po] auto sync · python/python-docs-zh-cn@8d63c78 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d63c78

Browse files
[po] auto sync
1 parent 8550bd4 commit 8d63c78

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.20%", "updated_at": "2025-03-30T07:55:33Z"}
1+
{"translation": "81.21%", "updated_at": "2025-03-30T14:55:43Z"}

library/token.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,48 +201,56 @@ msgstr ""
201201
msgid ""
202202
"This token type isn't used by the C tokenizer but is needed for the "
203203
":mod:`tokenize` module."
204-
msgstr ""
204+
msgstr "该词元类型不被 C 分词器所使用但却是 :mod:`tokenize` 模块所需要的。"
205205

206206
#: ../../library/token.rst:150
207207
msgid ""
208208
"The following token types are not produced by the :mod:`tokenize` module, "
209209
"and are defined for special uses in the tokenizer or parser:"
210-
msgstr ""
210+
msgstr "下列词元类型不会由 :mod:`tokenize` 模块产生,它们是为分词器或解析器内的特殊用处而定义的。"
211211

212212
#: ../../library/token.rst:155
213213
msgid ""
214214
"Token value indicating that a ``type: ignore`` comment was recognized. Such "
215215
"tokens are produced instead of regular :data:`COMMENT` tokens only with the "
216216
":data:`~ast.PyCF_TYPE_COMMENTS` flag."
217217
msgstr ""
218+
"指明一个 ``type: ignore`` 注释已被识别的词元值。 此种词元仅在设置了 :data:`~ast.PyCF_TYPE_COMMENTS` "
219+
"旗标时会代替常规的 :data:`COMMENT` 词元被产生。"
218220

219221
#: ../../library/token.rst:161
220222
msgid ""
221223
"Token value indicating that a type comment was recognized. Such tokens are "
222224
"produced instead of regular :data:`COMMENT` tokens only with the "
223225
":data:`~ast.PyCF_TYPE_COMMENTS` flag."
224226
msgstr ""
227+
"指明一个类型注释已被识别的词元值。 此种词元仅在设置了 :data:`~ast.PyCF_TYPE_COMMENTS` 旗标时会代替常规的 "
228+
":data:`COMMENT` 词元被产生。"
225229

226230
#: ../../library/token.rst:167
227231
msgid "Token value indicating a :ref:`soft keyword <soft-keywords>`."
228-
msgstr ""
232+
msgstr "指明一个 :ref:`软关键字 <soft-keywords>` 的词元值。"
229233

230234
#: ../../library/token.rst:169
231235
msgid ""
232236
"The tokenizer never produces this value. To check for a soft keyword, pass a"
233237
" :data:`NAME` token's string to :func:`keyword.issoftkeyword`."
234238
msgstr ""
239+
"分词器绝不会产生该值。 要检测一个软关键字,请将一个 :data:`NAME` 词元字符串传给 "
240+
":func:`keyword.issoftkeyword`。"
235241

236242
#: ../../library/token.rst:175
237243
msgid "Token value used to indicate wrong input."
238-
msgstr ""
244+
msgstr "用于表示错误输入的词元值。"
239245

240246
#: ../../library/token.rst:177
241247
msgid ""
242248
"The :mod:`tokenize` module generally indicates errors by raising exceptions "
243249
"instead of emitting this token. It can also emit tokens such as :data:`OP` "
244250
"or :data:`NAME` with strings that are later rejected by the parser."
245251
msgstr ""
252+
":mod:`tokenize` 模块通常用引发异常而不是发出这个词元来指明错误。 它也可以发出 :data:`OP` 或 :data:`NAME` "
253+
"等词元并附带将被解析器拒绝的字符串。"
246254

247255
#: ../../library/token.rst:185
248256
msgid ""

0 commit comments

Comments
 (0)
0