[New-bugs-announce] [issue3822] zfill doc string uses inconsistent variable names
Toby Donaldson
report at bugs.python.org
Tue Sep 9 18:13:24 CEST 2008
New submission from Toby Donaldson <tjdonaldson at gmail.com>:
The doc string for zfill use the variable name "x" when it should
probably be using the variable name "S".
>>> print(''.zfill.__doc__)
S.zfill(width) -> str
Pad a numeric string x with zeros on the left, to fill a field
of the specified width. The string x is never truncated.
----------
assignee: georg.brandl
components: Documentation
messages: 72880
nosy: georg.brandl, tjd
severity: normal
status: open
title: zfill doc string uses inconsistent variable names
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3822>
_______________________________________
More information about the New-bugs-announce
mailing list