default behavior
Piet van Oostrum
piet at vanoostrum.org
Tue Dec 7 23:04:36 EST 2010
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:
> You don't need the space between strings and the attribute access:
> "1".zfill(2) is fine. You only need it for numbers, due to the ambiguity
> between the decimal point and dotted attribute access.
Personally I prefer parentheses: (1).conjugate
--
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
Nu Fair Trade woonartikelen op http://www.zylja.com
More information about the Python-list
mailing list