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 xiang.zhang
Recipients serhiy.storchaka, xiang.zhang
Date 2016-07-13.14:25:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468419956.94.0.318692917965.issue27506@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-07-13 14:25:56xiang.zhangsetrecipients: + xiang.zhang, serhiy.storchaka
2016-07-13 14:25:56xiang.zhangsetmessageid: <1468419956.94.0.318692917965.issue27506@psf.upfronthosting.co.za>
2016-07-13 14:25:56xiang.zhanglinkissue27506 messages
2016-07-13 14:25:56xiang.zhangcreate