From f98159c376bd133a0e66a7f8ebf25a0a4516d955 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 7 Feb 2003 20:49:40 +0000 Subject: Fix SF bug #642168, help() fails for some builtin topics Fix pydoc when doing help for: and, or, not, UNICODE. Will backport. --- Lib/pydoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 9e55a89..e27adb9 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1414,7 +1414,7 @@ class Helper: 'STRINGS': ('ref/strings', 'str UNICODE SEQUENCES STRINGMETHODS FORMATTING TYPES'), 'STRINGMETHODS': ('lib/string-methods', 'STRINGS FORMATTING'), 'FORMATTING': ('lib/typesseq-strings', 'OPERATORS'), - 'UNICODE': ('ref/unicode', 'encodings unicode TYPES STRING'), + 'UNICODE': ('ref/strings', 'encodings unicode TYPES STRING'), 'NUMBERS': ('ref/numbers', 'INTEGER FLOAT COMPLEX TYPES'), 'INTEGER': ('ref/integers', 'int range'), 'FLOAT': ('ref/floating', 'float math'), @@ -1474,7 +1474,7 @@ class Helper: 'SHIFTING': ('ref/shifting', 'EXPRESSIONS'), 'BITWISE': ('ref/bitwise', 'EXPRESSIONS'), 'COMPARISON': ('ref/comparisons', 'EXPRESSIONS BASICMETHODS'), - 'BOOLEAN': ('ref/lambda', 'EXPRESSIONS TRUTHVALUE'), + 'BOOLEAN': ('ref/Booleans', 'EXPRESSIONS TRUTHVALUE'), 'ASSERTION': 'assert', 'ASSIGNMENT': ('ref/assignment', 'AUGMENTEDASSIGNMENT'), 'AUGMENTEDASSIGNMENT': ('ref/augassign', 'NUMBERMETHODS'), -- cgit v0.12