mirror of https://github.com/python/cpython
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:
parent
b8a3905112
commit
f98159c376
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue