Author nchammas
Recipients docs@python, nchammas
Date 2016-02-10.19:52:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The docs for `bytes.translate()` [0] show the following signature:

bytes.translate(table[, delete])

However, calling this method with keyword arguments yields:

>>> b''.translate(table='la table', delete=b'delete')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: translate() takes no keyword arguments

I'm guessing other methods have this same issue. (e.g. `str.translate()`)

Do the docs need to be updated, or should these methods be updated to accept keyword arguments, or something else?

Date User Action Args
2016-02-10 19:52:44nchammassetrecipients: + nchammas, docs@python
2016-02-10 19:52:44nchammassetmessageid: <>
2016-02-10 19:52:44nchammaslinkissue26334 messages
2016-02-10 19:52:44nchammascreate