summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-11 13:02:37 (GMT)
committerGitHub <noreply@github.com>2020-06-11 13:02:37 (GMT)
commit961edf7979ca34d6fe104a1cce005aa8cac35821 (patch)
treea5c62b1fea64a1fa70a4566e306cf9e95ffedcac /Lib/pydoc.py
parentf6428babb1b9172cc01145d4c091b91dc601d969 (diff)
downloadcpython-961edf7979ca34d6fe104a1cce005aa8cac35821.zip
cpython-961edf7979ca34d6fe104a1cce005aa8cac35821.tar.gz
cpython-961edf7979ca34d6fe104a1cce005aa8cac35821.tar.bz2
bpo-40939: Generate keyword.py using the new parser (GH-20800)
(cherry picked from commit 9727694f08cad4b019d2939224e3416312b1c0e1) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 628f9fc..a5368bf 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -1817,6 +1817,7 @@ class Helper:
'False': '',
'None': '',
'True': '',
+ '__new_parser__': '',
'and': 'BOOLEAN',
'as': 'with',
'assert': ('assert', ''),