[issue27506] make bytes/bytearray deletechars a keyword argument named delete

2016-07-13 Thread Xiang Zhang
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 deliberatel

[issue27506] make bytes/bytearray deletechars a keyword argument named delete

2016-07-13 Thread R. David Murray
Changes by R. David Murray : -- title: bytes/bytearray delete acts as keyword argument -> make bytes/bytearray deletechars a keyword argument named delete ___ Python tracker ___