scoping problems

Narayan Desai desai at mcs.anl.gov
Fri Jul 27 14:39:41 EDT 2001


How can i define the following code:

def a():
    b()

def b():
    a()

(ignoring for a moment that this would never terminate)
How do you get the namespaces right?

I would solve this with function prototypes in C, but it isn't clear
to me how to do this in python.
thanks...
 -nld



More information about the Python-list mailing list