Message270310
Hmm, David, that may be not quite right. Users only reading the doc never know it's deletechars not delete. The doc is always delete, though conflicting with __doc__.
>>> print(bytes.translate.__doc__)
B.translate(table[, deletechars]) -> bytes
...
I deliberately change deletechars to delete to keep consistent with doc. But actually I think using deletechars won't break backwards compatibility too. |
|
Date |
User |
Action |
Args |
2016-07-13 14:25:56 | xiang.zhang | set | recipients:
+ xiang.zhang, serhiy.storchaka |
2016-07-13 14:25:56 | xiang.zhang | set | messageid: <1468419956.94.0.318692917965.issue27506@psf.upfronthosting.co.za> |
2016-07-13 14:25:56 | xiang.zhang | link | issue27506 messages |
2016-07-13 14:25:56 | xiang.zhang | create | |
|