[issue39574] str.__doc__ is misleading

Eric V. Smith report at bugs.python.org
Fri Feb 7 04:26:51 EST 2020


Eric V. Smith <eric at trueblade.com> added the comment:

That's a good improvement, Steven. I like your wording about errors better than the wording about encoding, so how about changing the next to last sentence to:

"If errors is specified, encoding defaults to sys.getdefaultencoding()."

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39574>
_______________________________________


More information about the Python-bugs-list mailing list