scope question

Mikael Olofsson mikael at isy.liu.se
Tue Aug 7 11:20:50 EDT 2001


On 07-Aug-2001 Mark Robinson wrote:
 >  why does it find the global variable in the first case and not in the 
 >  second?

See 

  http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.036.htp
  http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.057.htp

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael               
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    07-Aug-2001
Time:    17:19:27

         /"\
         \ /     ASCII Ribbon Campaign
          X      Against HTML Mail
         / \

This message was sent by XF-Mail.
-----------------------------------------------------------------------




More information about the Python-list mailing list