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/2008-June/080033.html below:

[Python-Dev] converting the stdlib to str.format

[Python-Dev] converting the stdlib to str.format [Python-Dev] converting the stdlib to str.formatAntoine Pitrou solipsis at pitrou.net
Wed Jun 4 14:44:10 CEST 2008
Michael Foord <fuzzyman <at> voidspace.org.uk> writes:
> Simple string formatting with %s and a single object or a tuple meets 
>  >90% of my string formatting needs.

Not to mention that e.g. "%r" % s is much simpler than "{0!r}".format(s)
(if I got the format spec right).

cheers

Antoine.


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