summaryrefslogtreecommitdiff
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-06-11 19:09:21 +0300
committerGitHub <noreply@github.com>2020-06-11 09:09:21 -0700
commitbcd7deed9118e365c1225de2a2e1a81bf988c6ab (patch)
treede71fff4f10f86dc1fa46d5ca590fbd06dfb1a75 /Lib/pydoc.py
parent10e6506aa8261aacc89b49e629ae1c927fa5151c (diff)
downloadcpython-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/pydoc.py')
-rwxr-xr-xLib/pydoc.py1
1 files changed, 0 insertions, 1 deletions
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', ''),