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/2004-April/044063.html below:

[Python-Dev] PEP 318: Properties

[Python-Dev] PEP 318: Properties [Python-Dev] PEP 318: PropertiesPhillip J. Eby pje at telecommunity.com
Mon Apr 5 11:18:34 EDT 2004
At 09:20 AM 4/5/04 -0400, Jewett, Jim J wrote:

>         x=asdlfjk
>
>looks like x is now set to something.  I expect it it to stay that way until
>the next x=??? statement.

Or the next 'def x' statement, or 'class x' statement.  Assignment is not 
the only way to bind a name in Python.

Even if you know nothing about decorators, it should be apparent that in 
today's Python, this:

x = 42

def x(): pass

does *not* leave x equal to 42.


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