Repository navigation
Expand file tree
/
Copy pathgrammar.po
More file actions
54 lines (51 loc) · 2.46 KB
/
Copy pathgrammar.po
File metadata and controls
54 lines (51 loc) · 2.46 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-03 16:02+0000\n"
"PO-Revision-Date: 2025-09-22 15:58+0000\n"
"Last-Translator: python-doc bot, 2025\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:2
msgid "Full Grammar specification"
msgstr "完整的语法规范"
#: ../../reference/grammar.rst:4
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:9
msgid ""
"The notation is a mixture of `EBNF "
"<https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form>`_ and `PEG"
" <https://en.wikipedia.org/wiki/Parsing_expression_grammar>`_. In "
"particular, ``&`` followed by a symbol, token or parenthesized group "
"indicates a positive lookahead (i.e., is required to match but not "
"consumed), while ``!`` indicates a negative lookahead (i.e., is required "
"*not* to match). We use the ``|`` separator to mean PEG's \"ordered "
"choice\" (written as ``/`` in traditional PEG grammars). See :pep:`617` for "
"more details on the grammar's syntax."
msgstr ""
"该标记法是 `EBNF "
"<https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form>`_ 和 `PEG "
"<https://en.wikipedia.org/wiki/Parsing_expression_grammar>`_ 的混合体。 特别地,``&``"
" 后跟一个符号、形符或带括号的分组来表示肯定型前视(即要求匹配但不消耗字符)。而 ``!`` 表示否定型前视(即要求 *不* 匹配)。 我们使用 "
"``|`` 分隔符来表示 PEG 的“有序选择”(在传统 PEG 语法中为 ``/`` 写法)。 请参阅 :pep:`617` "
"了解有关该语法规则的更多细节。"