[Pyrex] Unexpected NameError
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Nov 21 11:15:29 CET 2007
Franck Pommereau wrote:
> I've added some global statements at the module
> level also.
That shouldn't make any difference -- global works the same way
as it does in Python, i.e. you use it inside a function. What
place in the docs are you referring to? Perhaps I can clarify
this.
(There are actually some occasions where a global statement at
the module level is needed, but they don't apply here.)
--
Greg
More information about the Pyrex
mailing list