summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 09e1d25..b334333 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -1548,10 +1548,10 @@ class Helper:
'del': ('del', 'BASICMETHODS'),
'elif': 'if',
'else': ('else', 'while for'),
- 'except': 'except',
- 'finally': 'finally',
+ 'except': 'try',
+ 'finally': 'try',
'for': ('for', 'break continue while'),
- 'from': 'from',
+ 'from': 'import',
'global': ('global', 'NAMESPACES'),
'if': ('if', 'TRUTHVALUE'),
'import': ('import', 'MODULES'),