This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author woo yoo
Recipients docs@python, woo yoo
Date 2016-12-09.05:20:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481260841.6.0.53772469659.issue28916@psf.upfronthosting.co.za>
In-reply-to
Content
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."
History
Date User Action Args
2016-12-09 05:20:41woo yoosetrecipients: + woo yoo, docs@python
2016-12-09 05:20:41woo yoosetmessageid: <1481260841.6.0.53772469659.issue28916@psf.upfronthosting.co.za>
2016-12-09 05:20:41woo yoolinkissue28916 messages
2016-12-09 05:20:40woo yoocreate