Message313697
Too bad we couldn't do:
iskeyword = frozenset(kwlist).__contains__
iskeyword.__doc__ = 'Test whether a string is a reserved identifier.'
But I'm sure there are reasons for this:
AttributeError: attribute '__doc__' of 'builtin_function_or_method' objects is not writable |
|
Date |
User |
Action |
Args |
2018-03-12 20:38:13 | cheryl.sabella | set | recipients:
+ cheryl.sabella, rhettinger, terry.reedy, dabeaz, docs@python, serhiy.storchaka, willingc, CuriousLearner |
2018-03-12 20:38:13 | cheryl.sabella | set | messageid: <1520887093.53.0.467229070634.issue33014@psf.upfronthosting.co.za> |
2018-03-12 20:38:13 | cheryl.sabella | link | issue33014 messages |
2018-03-12 20:38:13 | cheryl.sabella | create | |
|