]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #28916: Correct description of %o and %x alternative forms
authorMartin Panter <vadmium+py@gmail.com>
Sun, 11 Dec 2016 01:07:29 +0000 (01:07 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 11 Dec 2016 01:07:29 +0000 (01:07 +0000)
commit41176ae1d2f4ab6dc0f7fc4ea76efad1248c0c5b
tree1bde1c9c341c911c363ef7993ea101735468c7c7
parentbc538e38527bf836291be5b6ac28644b27abd07e
Issue #28916: Correct description of %o and %x alternative forms

* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments
Doc/library/stdtypes.rst
Lib/test/test_format.py