From 0d855393e61496e0690514c0cf7437f92f5a04e8 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 30 Aug 2008 19:53:05 +0000 Subject: [PATCH] Merged revisions 66076 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r66076 | georg.brandl | 2008-08-30 21:03:43 +0200 (Sat, 30 Aug 2008) | 2 lines #3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine. ........ --- Lib/pydoc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 09e1d256c25..b334333050a 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'),