Not in 2.7 and 3.1+ 2011年4月7日 Martin Feuchtwanger <martinf at underhill.ca>: > Similarly, >> print 'The value of PI is approximately {}.'.format(math.pi) >> should be >> print 'The value of PI is approximately {0}.'.format(math.pi) >> -- > Martin Feuchtwanger, PhD martinf at underhill.ca 604-732-3384 x 206 > Underhill Geomatics Ltd. www.underhill.ca > 210A, 3430 Brighton Ave. Burnaby, BC V5A 3H4 >> _______________________________________________ > docs mailing list > docs at python.org > http://mail.python.org/mailman/listinfo/docs > -- Regards, Benjamin