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@python
components: Documentation
messages: 282762
nosy: docs@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 <[email protected]>
<http://bugs.python.org/issue28916>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com