From 936fa570f30242bac80885a157d9f59354cae3cc Mon Sep 17 00:00:00 2001 From: Thomas Hunger Date: Wed, 19 Sep 2007 12:47:06 +0200 Subject: Emit and release temporary variables in global namespace because the class-body code is exectuted at module-init time. --- Cython/Compiler/ModuleNode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cython/Compiler/ModuleNode.py') 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( -- cgit v1.2.1