[docs] [issue8691] Doc: left alignment is not the default for numbers

Terry J. Reedy report at bugs.python.org
Tue May 11 22:21:19 CEST 2010


New submission from Terry J. Reedy <tjreedy at udel.edu>:

As reported on python-list by Alan G Isaac,
Lib Ref 6.1.3.1. Format Specification Mini-Language, for instance
http://docs.python.org/dev/py3k/library/string.html#formatstrings

wrongly says in the alignment section

"'<' 	Forces the field to be left-aligned within the available space (This is the default.)"

This latter, of course, is not true for number fields.

"(This is the default.)" could be replaced by "(the string default)."
(in any case, the '.' should be outside the () unless one is added after 'space' before '(') and "(the number default)" added to the next line. Or instead the issue of defaults could be addressed in the text below the table.

I am assuming that this issue affects 2.6/7.

----------
assignee: docs at python
components: Documentation
messages: 105536
nosy: docs at python, tjreedy
priority: normal
severity: normal
status: open
title: Doc: left alignment is not the default for numbers
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

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


More information about the docs mailing list