Message134441
True, False and None are also included in keyword.kwlist:
>>> keyword.kwlist
['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
The help() is also missing for 'None' and 'False', but works for 'True':
>>> help('None')
no Python documentation found for 'None'
>>> help('False')
no Python documentation found for 'False'
>>> help('True')
Help on bool object:
True = class bool(int)
| bool(x) -> bool
...
On 3.3 it's the same. |
|
Date |
User |
Action |
Args |
2011-04-26 02:03:55 | ezio.melotti | set | recipients:
+ ezio.melotti, cvrebert, docs@python, Carl.M.Johnson |
2011-04-26 02:03:55 | ezio.melotti | set | messageid: <1303783435.29.0.491442975979.issue11926@psf.upfronthosting.co.za> |
2011-04-26 02:03:54 | ezio.melotti | link | issue11926 messages |
2011-04-26 02:03:54 | ezio.melotti | create | |
|