[docs] [issue28916] Not matched behavior of modulo operator % with the description of the documentation
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
nosy: docs at python, woo yoo
title: Not matched behavior of modulo operator % with the description of the documentation
versions: Python 3.5
Python tracker <report at bugs.python.org>
More information about the docs