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/2016-October/146770.html below:

[Python-Dev] Default formatting

[Python-Dev] Default formatting [Python-Dev] Default formattingSerhiy Storchaka storchaka at gmail.com
Thu Oct 27 15:01:14 EDT 2016
On 27.10.16 19:59, Steve Dower wrote:
> Having the default __format__ behave like this makes me happiest:
>
> ....     def __format__(self, fmt):
> ....         return format(str(self), fmt)
>
> My 2c. YMMV. etc.

See issue7994 [1] for arguments against this.

[1] http://bugs.python.org/issue7994


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