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 dabeaz
Recipients CuriousLearner, dabeaz, docs@python, terry.reedy
Date 2018-03-09.20:44:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520628265.45.0.467229070634.issue33014@psf.upfronthosting.co.za>
In-reply-to
Content
That wording isn't much better in my opinion.  If I'm sitting there looking at methods like str.isdigit(), str.isnumeric(), str.isascii(), and str.isidentifier(), seeing keyword.iskeyword() makes me think it's a method regardless of whether you label it a function or method.  Explicitly stating that "keyword" is actually the keyword module makes it much clearer. Or at least including the argument as well keyword.iskeyword(kw).

It really should be a string method though ;-)
History
Date User Action Args
2018-03-09 20:44:25dabeazsetrecipients: + dabeaz, terry.reedy, docs@python, CuriousLearner
2018-03-09 20:44:25dabeazsetmessageid: <1520628265.45.0.467229070634.issue33014@psf.upfronthosting.co.za>
2018-03-09 20:44:25dabeazlinkissue33014 messages
2018-03-09 20:44:25dabeazcreate