This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年08月10日 22:16 by Rambo007, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg70996 - (view) | Author: (Rambo007) | Date: 2008年08月10日 22:16 | |
Hello. I was pokinf around in the Python 3.0b2 interpreter and I found some typos in the following doctring: >>> import sys; print(sys.platform.__doc__) 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 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. |
|||
| msg70997 - (view) | Author: Guilherme Polo (gpolo) * (Python committer) | Date: 2008年08月10日 22:46 | |
'encoding' and 'errors' refers to the names of the arguments accepted by str, this is not a typo. |
|||
| msg71002 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年08月11日 08:18 | |
Chester, please stop changing your user name and wasting our time. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:37 | admin | set | github: 47788 |
| 2008年08月11日 08:18:16 | georg.brandl | set | messages: + msg71002 |
| 2008年08月10日 22:46:32 | gpolo | set | status: open -> closed nosy: + gpolo resolution: not a bug messages: + msg70997 |
| 2008年08月10日 22:16:33 | Rambo007 | create | |