]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-116881: Remove erroneous or redundant grammar NULL (GH-116885) (#116951)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 18 Mar 2024 14:37:26 +0000 (15:37 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 14:37:26 +0000 (10:37 -0400)
commit6383b14957e9f8919562e9546d8288fcedeac822
tree17de3683f8a4b55c165cb814f9fd43f702f4f598
parent1c0c6c91afcb765f30bbb4e3d80a50e31d7adfcc
[3.12] gh-116881: Remove erroneous or redundant grammar NULL (GH-116885) (#116951)

In Lexical Analysis f-strings section, NULL in the description
of 'literal character' means '\0'.  In the format_spec grammar
production, it is wrong with that meaning and redundant if
instead interpreted as <nothing>.  Remove it there.
(cherry picked from commit 4e45c6c54a9457b1ca5b4cf3aa2843b7218d4414)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/reference/lexical_analysis.rst