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/2004-August/047695.html below:

[Python-Dev] Re: Update PEP 292

[Python-Dev] Re: Update PEP 292 [Python-Dev] Re: Update PEP 292Andrew Durdin adurdin at gmail.com
Thu Aug 12 08:05:56 CEST 2004
One thing the PEP doesn't make clear: do these templates only
interpolate string variables, or will they handle anything with a
__str__ method?

e.g., will the following raise an exception:

print Template("I am ${height} centimetres tall.") % {height: 183}
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