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/2003-October/039575.html below:

[Python-Dev] replacing 'global'

[Python-Dev] replacing 'global'Alex Martelli aleaxit at yahoo.com
Sun Oct 26 11:24:56 EST 2003
On Sunday 26 October 2003 05:19 pm, Skip Montanaro wrote:
>     Just> - Would := be allowed in statements like "self.a := 2"? It makes
>     Just>   no sense, but since "(a, b) := (2, 3)" IS meaningful, what
> about Just>   "(a, b, self.c) = (1, 2, 3)"?
>
> Ummm...  This doesn't seem to be strengthening your argument. ;-)

Indeed, I think the argument is stronger -- and := is more useful -- if

a, b := 2, 3

and

self.a := 2

and all such non-elementary variations of assignment are NOT allowed
with := .


Alex


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