You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new string object from the given encoded string.
encoding defaults to the current default string encoding.
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.
Please fix the docstring words 'encoding' and 'errors' to have the
capital initial letter, so that the docstring would look like this:
str(string[, encoding[, errors]]) -> str
Create a new string object from the given encoded string.
Encoding defaults to the current default string encoding.
Errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.
Please fix other similar typos if you find them. Thank you.
Activity
Rambo007 commentedon Aug 10, 2008
Hello. I was pokinf around in the Python 3.0b2 interpreter and I found
some typos in the following doctring:
Create a new string object from the given encoded string.
encoding defaults to the current default string encoding.
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.
Please fix the docstring words 'encoding' and 'errors' to have the
capital initial letter, so that the docstring would look like this:
str(string[, encoding[, errors]]) -> str
Create a new string object from the given encoded string.
Encoding defaults to the current default string encoding.
Errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.
Please fix other similar typos if you find them. Thank you.
gpolo commentedon Aug 10, 2008
'encoding' and 'errors' refers to the names of the arguments accepted by
str, this is not a typo.
birkenfeld commentedon Aug 11, 2008
Chester, please stop changing your user name and wasting our time.