This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cheryl.sabella
Recipients CuriousLearner, cheryl.sabella, dabeaz, docs@python, rhettinger, serhiy.storchaka, terry.reedy, willingc
Date 2018-03-12.20:38:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520887093.53.0.467229070634.issue33014@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-03-12 20:38:13cheryl.sabellasetrecipients: + cheryl.sabella, rhettinger, terry.reedy, dabeaz, docs@python, serhiy.storchaka, willingc, CuriousLearner
2018-03-12 20:38:13cheryl.sabellasetmessageid: <1520887093.53.0.467229070634.issue33014@psf.upfronthosting.co.za>
2018-03-12 20:38:13cheryl.sabellalinkissue33014 messages
2018-03-12 20:38:13cheryl.sabellacreate