Xiang Zhang added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to