Message313504
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 ;-) |
|
Date |
User |
Action |
Args |
2018-03-09 20:44:25 | dabeaz | set | recipients:
+ dabeaz, terry.reedy, docs@python, CuriousLearner |
2018-03-09 20:44:25 | dabeaz | set | messageid: <1520628265.45.0.467229070634.issue33014@psf.upfronthosting.co.za> |
2018-03-09 20:44:25 | dabeaz | link | issue33014 messages |
2018-03-09 20:44:25 | dabeaz | create | |
|