diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-06-11 19:09:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 09:09:21 -0700 |
commit | bcd7deed9118e365c1225de2a2e1a81bf988c6ab (patch) | |
tree | de71fff4f10f86dc1fa46d5ca590fbd06dfb1a75 /Lib | |
parent | 10e6506aa8261aacc89b49e629ae1c927fa5151c (diff) | |
download | cpython-git-bcd7deed9118e365c1225de2a2e1a81bf988c6ab.tar.gz |
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_...__`.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/keyword.py | 1 | ||||
-rwxr-xr-x | Lib/pydoc.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Lib/keyword.py b/Lib/keyword.py index afc3db3942..b6a9982570 100644 --- a/Lib/keyword.py +++ b/Lib/keyword.py @@ -19,7 +19,6 @@ kwlist = [ 'False', 'None', 'True', - '__new_parser__', 'and', 'as', 'assert', diff --git a/Lib/pydoc.py b/Lib/pydoc.py index a5368bf8bf..628f9fc7d1 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1817,7 +1817,6 @@ class Helper: 'False': '', 'None': '', 'True': '', - '__new_parser__': '', 'and': 'BOOLEAN', 'as': 'with', 'assert': ('assert', ''), |