[docs] globals

Eli Bendersky eliben at gmail.com
Sat Jun 11 15:32:32 CEST 2011


2011/6/6 siwy_ <siwego at gmail.com>

>  I am affraid that there is nothing said about global variables inside
> def: blocks
>
> that supports me some problems that solution could be found in internet
>
>
Read this (Python 2.7 version) document:
http://docs.python.org/reference/executionmodel.html#naming-and-binding for
the official information.

The tutorial also mentions globals in functions here:
http://docs.python.org/tutorial/controlflow.html#defining-functions

What other information would you expect to have?
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20110611/ad517806/attachment.html>


More information about the docs mailing list