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/2006-June/066367.html below:

[Python-Dev] Allow assignments in 'global' statements?

[Python-Dev] Allow assignments in 'global' statements? [Python-Dev] Allow assignments in 'global' statements?Guido van Rossum guido at python.org
Thu Jun 22 17:15:59 CEST 2006
On 6/21/06, Talin <talin at acm.org> wrote:
> I'm sure I am not the first person to say this, but how about:
>
>     global x = 12
>
> (In other words, declare a global and assign a value to it - or another
> way of saying it is that the 'global' keyword acts as an assignment
> modifier.)

-1. If you get this feeling, surely you're overusing global.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
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