[docs] [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>

More information about the docs mailing list