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/066347.html below:

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

[Python-Dev] Allow assignments in 'global' statements? [Python-Dev] Allow assignments in 'global' statements?Talin talin at acm.org
Thu Jun 22 04:34:00 CEST 2006
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.)

-- Talin
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