A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-May/089501.html below:

[Python-Dev] typo in 8.1.3.1. Format Specification Mini-Language?

[Python-Dev] typo in 8.1.3.1. Format Specification Mini-Language? [Python-Dev] typo in 8.1.3.1. Format Specification Mini-Language?Neal Becker ndbecker2 at gmail.com
Thu May 7 20:42:29 CEST 2009
"format_spec ::=  [[fill]align][sign][#][0][width][.precision][type]"
"The precision is ignored for integer values."

In [36]: '%3x' % 10
Out[36]: '  a'

In [37]: '%.3x' % 10
Out[37]: '00a'

Apparently, precision is _not_ ignored? 


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4