using identifiers before they are defined
Ben Finney
ben+python at benfinney.id.au
Tue Jun 12 23:33:17 EDT 2012
Julio Sergio <juliosergio at gmail.com> writes:
> Suppose I have to define two functions, aa, and, bb that are designed
> to call each other:
>
> def aa():
> ...
> ... a call of bb() somewhere in the body of aa
> ...
>
> def bb():
> ...
> ... a call of aa() somewhere in the body of bb
> ...
>
>
> Whatever the order of definition of aa and bb the problem remains, one
> of the two identifiers is not known ...
What problem? Can you show actual code that we can execute, which
demonstrates the problem?
--
\ “I turned to speak to God/About the world's despair; But to |
`\ make bad matters worse/I found God wasn't there.” —Robert Frost |
_o__) |
Ben Finney
More information about the Python-list
mailing list