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

PEP 292, Simpler String Substitutions

[Python-Dev] Re: PEP 292, Simpler String Substitutions [Python-Dev] Re: PEP 292, Simpler String SubstitutionsPatrick K. O'Brien pobrien@orbtech.com
Wed, 19 Jun 2002 22:25:34 -0500
[Guido van Rossum]
> 
> I quite like the positional % substitution.  I think %(...)s was a
> mistake -- what we really wanted was ${...}.

What is the advantage of curly braces over parens in this context?

+1 on the allvars() suggestion also.

--
Patrick K. O'Brien
Orbtech
-----------------------------------------------
"Your source for Python software development."
-----------------------------------------------
Web:  http://www.orbtech.com/web/pobrien/ 
Blog: http://www.orbtech.com/blog/pobrien/ 
Wiki: http://www.orbtech.com/wiki/PatrickOBrien 
-----------------------------------------------





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