diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 0e6999c5d4d..7f0adddb19a 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1420,10 +1420,10 @@ class Helper: 'import': ('ref/import', 'MODULES'), 'in': ('ref/comparisons', 'SEQUENCEMETHODS2'), 'is': 'COMPARISON', - 'lambda': ('ref/lambda', 'FUNCTIONS'), + 'lambda': ('ref/lambdas', 'FUNCTIONS'), 'not': 'BOOLEAN', 'or': 'BOOLEAN', - 'pass': 'PASS', + 'pass': ('ref/pass', ''), 'print': ('ref/print', ''), 'raise': ('ref/raise', 'EXCEPTIONS'), 'return': ('ref/return', 'FUNCTIONS'), @@ -1469,8 +1469,8 @@ class Helper: 'SEQUENCEMETHODS2': ('ref/sequence-methods', 'SEQUENCES SEQUENCEMETHODS1 SPECIALMETHODS'), 'MAPPINGMETHODS': ('ref/sequence-types', 'MAPPINGS SPECIALMETHODS'), 'NUMBERMETHODS': ('ref/numeric-types', 'NUMBERS AUGMENTEDASSIGNMENT SPECIALMETHODS'), - 'EXECUTION': ('ref/execframes', ''), - 'NAMESPACES': ('ref/execframes', 'global ASSIGNMENT DELETION'), + 'EXECUTION': ('ref/naming', ''), + 'NAMESPACES': ('ref/naming', 'global ASSIGNMENT DELETION'), 'SCOPING': 'NAMESPACES', 'FRAMES': 'NAMESPACES', 'EXCEPTIONS': ('ref/exceptions', 'try except finally raise'),