[docs] [issue28916] Not matched behavior of modulo operator % with the description of the documentation

woo yoo report at bugs.python.org
Fri Dec 9 00:20:41 EST 2016


New submission from woo yoo:

Mismatch occurs within the "Notes" section,row 1.Here is the link:https://docs.python.org/3/library/stdtypes.html#old-string-formatting

The course of coding shows below:
>>>'%#07o' % 1223
Result value is '0o02307',which is not in line with the description.

Description is "The alternate form causes a leading zero ('0') to be inserted between left-hand padding and the formatting of the number if the leading character of the result is not already a zero."

----------
assignee: docs at python
components: Documentation
messages: 282762
nosy: docs at python, woo yoo
priority: normal
severity: normal
status: open
title: Not matched behavior of modulo operator % with the description of the documentation
type: behavior
versions: Python 3.5

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


More information about the docs mailing list