◐ Shell
clean mode source ↗

bpo-30455: Generate all token related code and docs from Grammar/Tokens. by serhiy-storchaka · Pull Request #10370 · python/cpython

Conversation

@serhiy-storchaka

If there are no objections I am going to merge this PR in few days.

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I just have a very minor suggestion.


"""Non-terminal symbols of Python grammar (from "graminit.h")."""

# This file is automatically generated; please don't muck it up!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe document which tool generates it.

gvanrossum added a commit to gvanrossum/cpython that referenced this pull request

Jan 25, 2019
Grammar changes merged:
- PEP 572 (assignment expessions)
- pythonGH-10370 (slightly more lenient r.h.s. for annotated assignments)

Labels