From: Dag Sverre Seljebotn Date: Sat, 28 Mar 2009 13:57:19 +0000 (+0100) Subject: Remove unused reference to result() in analysis X-Git-Tag: 0.12.alpha0~355 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfcf860507a86cd97818378f4150a17151e69066;p=cython.git Remove unused reference to result() in analysis --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 0f00ac4d..be2f7e19 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -2529,7 +2529,6 @@ class PyClassDefNode(ClassDefNode): self.classobj.analyse_expressions(env) genv = env.global_scope() cenv = self.scope - cenv.class_dict_cname = self.dict.result() # TODO newtemps -- move to code generation self.body.analyse_expressions(cenv) self.target.analyse_target_expression(env, self.classobj) self.dict.release_temp(env) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index a7663a29..3e5e65be 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -1182,7 +1182,6 @@ class ClassScope(Scope): class PyClassScope(ClassScope): # Namespace of a Python class. # - # class_dict_cname string C variable holding class dict # class_obj_cname string C variable holding class object is_py_class_scope = 1