diff options
author | Thomas Hunger <none@none> | 2007-09-19 12:47:06 +0200 |
---|---|---|
committer | Thomas Hunger <none@none> | 2007-09-19 12:47:06 +0200 |
commit | 936fa570f30242bac80885a157d9f59354cae3cc (patch) | |
tree | 19ffaa572fb362f915f29472ea16f41ebfe0057e /Cython/Compiler/ModuleNode.py | |
parent | c5ce74b878c3a84417d168d73b9e9fb30e4c3ddd (diff) | |
download | cython-936fa570f30242bac80885a157d9f59354cae3cc.tar.gz |
Emit and release temporary variables in global namespace
because the class-body code is exectuted at module-init time.
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r-- | Cython/Compiler/ModuleNode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index c52bede43..428110c3a 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -995,7 +995,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): "static struct PyMethodDef %s[] = {" % env.method_table_cname) for entry in env.pyfunc_entries: - code.put_pymethoddef(entry, ",") + code.put_pymethoddef(entry, ",") code.putln( "{0, 0, 0, 0}") code.putln( |