I think the example:
"My name is {0.name}".format(file('out.txt'))
Would be easier to understand if you added:
Which would produce:
"My name is 'out.txt'"
On 8/14/07, Talin <talin at acm.org> wrote:
> A new version is up, incorporating material from the various discussions
> on this list:
>> http://www.python.org/dev/peps/pep-3101/
>> Diffs are here:
>> http://svn.python.org/view/peps/trunk/pep-3101.txt?rev=57044&r1=56535&r2=57044
>>> -- Talin
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/python3now%40gmail.com
>