[New-bugs-announce] [issue3538] Docstring typos

Rambo007 report at bugs.python.org
Mon Aug 11 00:16:34 CEST 2008


New submission from Rambo007 <wxpythoner at gmail.com>:

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.

----------
assignee: georg.brandl
components: Documentation
messages: 70996
nosy: Rambo007, georg.brandl
severity: normal
status: open
title: Docstring typos
versions: Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3538>
_______________________________________


More information about the New-bugs-announce mailing list