[issue35318] Check accuracy of str() doc string for its encoding argument
Serhiy Storchaka
report at bugs.python.org
Mon Nov 26 14:37:58 EST 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Is not it exactly what the docsting says?
> If encoding or
> errors is specified, then the object must expose a data buffer
> that will be decoded using the given encoding and error handler.
> Otherwise, returns the result of object.__str__() (if defined)
> or repr(object).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35318>
_______________________________________
More information about the Python-bugs-list
mailing list