From bcd7deed9118e365c1225de2a2e1a81bf988c6ab Mon Sep 17 00:00:00 2001 From: Lysandros Nikolaou Date: Thu, 11 Jun 2020 19:09:21 +0300 Subject: 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_...__`. --- Lib/pydoc.py | 1 - 1 file changed, 1 deletion(-) (limited to 'Lib/pydoc.py') 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', ''), -- cgit v1.2.1