/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.14.2
Doc/reference/grammar.rst
19 строк
626 B
Miss Islington (bot)
[3.14] gh-135676: Lexical analysis: Reword String literals and related sections (GH-135942) (#137048)
23 июл 2025, 19:23
Не верифицирован
23 июл 2025, 19:23
4832cea
Код
Авторство
О чём код?
.. _full-grammar-specification: Full Grammar specification ========================== 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. 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: * ``~`` ("cut"): commit to the current alternative and fail the rule even if this fails to parse .. literalinclude:: ../../Grammar/python.gram :language: peg