At 09:38 AM 4/29/05 -0700, Aahz wrote:
-1 -- the Zen of Python implies that we should be able to tell which
construct we're using at the beginning of the line.
Hm, maybe we should just use "@", then. :)
e.g.
@synchronized(self):
@with_file("foo") as f:
# etc.
Although I'd personally prefer a no-keyword approach:
synchronized(self):
with_file("foo") as f:
# etc.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com