[issue26334] bytes.translate() doesn't take keyword arguments; docs suggests it does
Nicholas Chammas
report at bugs.python.org
Wed Feb 10 16:31:38 EST 2016
Nicholas Chammas added the comment:
So you're saying if `bytes.translate()` accepted keyword arguments, its signature would look something like this?
```
bytes.translate(table, delete=None)
```
I guess I was under the mistaken assumption that argument names in the docs always matched keyword arguments in the signature.
But you're right, a strictly positional argument (I guess specified via something like `args*`?) doesn't have a name.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26334>
_______________________________________
More information about the Python-bugs-list
mailing list