summaryrefslogtreecommitdiffstats
path: root/Doc/reference/grammar.rst
diff options
context:
space:
mode:
authorjmcb <joelsgp@protonmail.com>2022-11-07 04:55:55 (GMT)
committerGitHub <noreply@github.com>2022-11-07 04:55:55 (GMT)
commit728e42fcf51cbb2108caf1382df224c13b53d024 (patch)
treed44af519444da7fed1a826903a1631fb0e921d97 /Doc/reference/grammar.rst
parentd7a00f1e8eee05fc5ae97ea1ef0615feefce887b (diff)
downloadcpython-728e42fcf51cbb2108caf1382df224c13b53d024.zip
cpython-728e42fcf51cbb2108caf1382df224c13b53d024.tar.gz
cpython-728e42fcf51cbb2108caf1382df224c13b53d024.tar.bz2
doc: Formatting and typo fixes (#98974)
Diffstat (limited to 'Doc/reference/grammar.rst')
-rw-r--r--Doc/reference/grammar.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/grammar.rst b/Doc/reference/grammar.rst
index 59b4500..bc1db7b 100644
--- a/Doc/reference/grammar.rst
+++ b/Doc/reference/grammar.rst
@@ -12,7 +12,7 @@ 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
+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.