]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF bug 630824: pydoc Helper keywords missing 'yield'
authorTim Peters <tim.peters@gmail.com>
Wed, 30 Oct 2002 05:21:00 +0000 (05:21 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 30 Oct 2002 05:21:00 +0000 (05:21 +0000)
Wow, what a brittle subsystem!  Fixed, maybe, provided Fred doesn't
shuffle the docs around.

Bugfix candidate.

Lib/pydoc.py

index e83e8951877a81dc32f9da5adba8e6e0484293c0..9e8351e04be39817c00640bbbf03e27291380cff 100755 (executable)
@@ -1406,6 +1406,7 @@ class Helper:
         'return': ('ref/return', 'FUNCTIONS'),
         'try': ('ref/try', 'EXCEPTIONS'),
         'while': ('ref/while', 'break continue if TRUTHVALUE'),
+        'yield': ('ref/yield', ''),
     }
 
     topics = {