string interpolation syntactic sugar
hartmut Goebel
hartmut at oberon.noris.de
Thu Dec 9 18:00:55 EST 1999
Jeremy Hylton (jeremy at cnri.reston.va.us) schrieb:
>>>>>> "SM" == Skip Montanaro <skip at mojam.com> writes:
> SM> "a %(x)s b %(y)s" % locals()
> "a %(x)s b %(y)s" % obj.__dict__
How efficient is this?
+++hartmut
| hartmut Goebel | hartmut at oberon.noris.de // |
| | Essich at irc \X/ |
PGP fingerprint = BF DD D6 75 7C 03 21 52 47 65 50 7F 54 47 06 C7
More information about the Python-list
mailing list