Repository navigation
Expand file tree
/
Copy pathgrammar.po
More file actions
60 lines (54 loc) · 2.54 KB
/
Copy pathgrammar.po
File metadata and controls
60 lines (54 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rafael Fontenelle <rffontenelle@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-08 19:31+0000\n"
"PO-Revision-Date: 2026-05-08 17:18+0000\n"
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../reference/grammar.rst:4
msgid "Full Grammar specification"
msgstr "完整的语法规范"
#: ../../reference/grammar.rst:6
msgid ""
"This is the full Python grammar, derived directly from the grammar used to "
"generate the CPython parser (see :source:`Grammar/python.gram`). The version"
" here omits details related to code generation and error recovery."
msgstr ""
"这是完整的 Python 语法规范,直接提取自用于生成 CPython 解析器的语法 (参见 "
":source:`Grammar/python.gram`)。 这里显示的版本省略了有关代码生成和错误恢复的细节。"
#: ../../reference/grammar.rst:11
msgid ""
"The notation used here is the same as in the preceding docs, and is "
"described in the :ref:`notation <notation>` section, except for an extra "
"complication:"
msgstr "此处使用的标记法与前述文档一致,其说明详见 :ref:`notation <notation>` 节,但存在一个额外复杂情况:"
#: ../../reference/grammar.rst:15
msgid ""
"``~`` (\"cut\"): commit to the current alternative; fail the rule if the "
"alternative fails to parse"
msgstr "``~`` (\"cut\"): 提交到当前替代项;如果替代项解析失败规则将失败"
#: ../../reference/grammar.rst:18
msgid ""
"Python mainly uses cuts for optimizations or improved error messages. They "
"often appear to be useless in the listing below."
msgstr "Python 主要将 cut 用于优化或改进错误消息。 它们在下面的列表中往往看起来没有用处。"
#: ../../reference/grammar.rst:23
msgid ""
"Cuts currently don't appear inside parentheses, brackets, lookaheads and "
"similar. Their behavior in these contexts is deliberately left unspecified."
msgstr "目前 cut 不会出现在圆括号、方括号、前瞻及类似结构内部。 在这些上下文中它们的行为被故意保持为未指明。"