Fix SF bug #642168, help() fails for some builtin topics

Fix pydoc when doing help for:  and, or, not, UNICODE.

Will backport.
This commit is contained in:
Neal Norwitz 2003-02-07 20:49:40 +00:00
parent b8a3905112
commit f98159c376
1 changed files with 2 additions and 2 deletions

View File

@ -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'),