mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
bpo-40939: Remove PEG parser easter egg (__new_parser__) (#20802)
It no longer serves a purpose (there's only one parser) and having "new" in any name will eventually look odd. Also, it impinges on a potential sub-namespace, `__new_...__`.
This commit is contained in:
parent
10e6506aa8
commit
bcd7deed91
4 changed files with 10 additions and 47 deletions
|
@ -1817,7 +1817,6 @@ class Helper:
|
|||
'False': '',
|
||||
'None': '',
|
||||
'True': '',
|
||||
'__new_parser__': '',
|
||||
'and': 'BOOLEAN',
|
||||
'as': 'with',
|
||||
'assert': ('assert', ''),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue