Issue #28916: Correct description of %o and %x alternative forms · python/cpython@41176ae · GitHub
Skip to content

Commit 41176ae

Browse files
committed
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
1 parent bc538e3 commit 41176ae

2 files changed

Lines changed: 12 additions & 32 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 6 additions & 12 deletions

Lib/test/test_format.py

Lines changed: 6 additions & 20 deletions

0 commit comments

Comments
 (0)