scopes of local and global variable

Fredrik Lundh fredrik at pythonware.com
Sat Dec 23 02:43:12 EST 2006


Pyenos wrote:

> does class WORK inherit t_len=0 from line1?
> 
> does def getwork() inherit t_len=0 from line1?
> 
> does def formattable(table_to_process,type) inherit t_len=0 from line1?
> 
> does def format_t() inherit t_len=0 from line1?

you may want to read the documentation:

     http://docs.python.org/ref/naming.html

</F>




More information about the Python-list mailing list