Skip to content

[3.11] gh-116881: Remove erroneous or redundant grammar NULL (GH-116885) - #116952

Merged
terryjreedy merged 1 commit into
python:3.11from
miss-islington:backport-4e45c6c-3.11
Mar 18, 2024
Merged

[3.11] gh-116881: Remove erroneous or redundant grammar NULL (GH-116885)#116952
terryjreedy merged 1 commit into
python:3.11from
miss-islington:backport-4e45c6c-3.11

Conversation

@miss-islington

@miss-islington miss-islington commented Mar 18, 2024

Copy link
Copy Markdown
Contributor

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 . Remove it there.
(cherry picked from commit 4e45c6c)

Co-authored-by: Terry Jan Reedy tjreedy@udel.edu


📚 Documentation preview 📚: https://cpython-previews--116952.org.readthedocs.build/

…-116885)

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 4e45c6c)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-app bedevere-app Bot added the docs Documentation in the Doc dir label Mar 18, 2024
@terryjreedy
terryjreedy merged commit 56cd874 into python:3.11 Mar 18, 2024
@miss-islington
miss-islington deleted the backport-4e45c6c-3.11 branch January 2, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants