You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pydoc help() lists related topics that do not exist (FILES, unicode) #161415
The "Related help topics" lists of two help() topics name entries that do not exist:
>>> help('TYPES')
...
Related help topics: STRINGS, UNICODE, NUMBERS, SEQUENCES, MAPPINGS,
FUNCTIONS, CLASSES, MODULES, FILES, inspect
>>> help('FILES')
No help entry found for 'FILES'.
...
>>> help('UNICODE')
...
Related help topics: encodings, unicode, SEQUENCES, STRINGMETHODS,
FORMATTING, TYPES
>>> help('unicode')
No help entry found for 'unicode'.
...
The FILES topic was removed from pydoc.Helper.topics in Python 3.4 because its documentation no longer exists (gh-63118), but the cross-reference from TYPES was kept. unicode refers to the Python 2 built-in type, which does not exist in Python 3.
Every other related topic of the help() topics and keywords is a topic, keyword, symbol, or an object that help() can document, so these two entries can be removed.
Activity
Merge branch 'main' into pythongh-161415-pydoc-related-topics
gh-161415: Remove nonexistent related help topics in `pydoc` (#161417)
[3.14] gh-161415: Remove nonexistent related help topics in `pydoc` (G…
[3.15] gh-161415: Remove nonexistent related help topics in `pydoc` (G…