A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-April/053149.html below:

[Python-Dev] PEP 340 - possible new name for block-statement

[Python-Dev] PEP 340 - possible new name for block-statement [Python-Dev] PEP 340 - possible new name for block-statementPhillip J. Eby pje at telecommunity.com
Fri Apr 29 19:08:04 CEST 2005
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.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4