cpython/InternalDocs/changing_grammar.md

2.7 KiB

Changing CPython's grammar

There's more to changing Python's grammar than editing Grammar/python.gram. Below is a checklist of things that may need to change.

Note

Many of these changes require re-generating some of the derived files. If things mysteriously don't work, it may help to run make clean.

Checklist