Roy Smith wrote: > In article > <6264e675-ddd4-446a-822a-cc82e8f87...@w1g2000prk.googlegroups.com>, > v4vijayakumar <vijayakumar.subbu...@gmail.com> wrote: > >> I saw some code where someone is really managed to import braces from >> __future__. ;) >> >> def test(): >> #{ >> print "hello" >> #} > > That usage is obsolete. Current best practice is: > > def test(): > """{""" > print "hello" > """}"""
Which would be OK if it were syntactically valid ... regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list