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/2013-August/127961.html below:

[Python-Dev] format and int subclasses (Was: format, int, and IntEnum)

[Python-Dev] format and int subclasses (Was: format, int, and IntEnum)Serhiy Storchaka storchaka at gmail.com
Thu Aug 15 09:07:35 CEST 2013
15.08.13 06:23, Eli Bendersky написав(ла):
> Yes, the problem here is certainly not IntEnum - specific; it's just
> that IntEnum is the first "for real" use case of subclassing 'int' in
> the stdlib.

Even not the first.

 >> '{}'.format(True)
'True'
 >>> '{:10}'.format(True)
'         1'


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