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/2002-February/020307.html below:

[Python-Dev] PEP 215 redux: toward a simplified consensus?

[Python-Dev] PEP 215 redux: toward a simplified consensus? [Python-Dev] PEP 215 redux: toward a simplified consensus?Barry A. Warsaw barry@zope.com
Mon, 25 Feb 2002 16:55:48 -0500
>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> Okay, so my proposal for $ doesn't do everything that %
    PP> does. It was never spec'd to do everything "%" does. For
    PP> instance it doesn't do float formatting tricks.

Does anybody ever even use something other than `s' for %() strings?

>>> '%(float)f' % {'float': 3.9}
'3.900000'

I never have.
-Barry



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