Commit 9c204719 authored by Stefan Behnel's avatar Stefan Behnel

removed some dead code

parent 85074974
...@@ -65,16 +65,6 @@ class IterationTransform(Visitor.VisitorTransform): ...@@ -65,16 +65,6 @@ class IterationTransform(Visitor.VisitorTransform):
- for-in-enumerate is replaced by an external counter variable - for-in-enumerate is replaced by an external counter variable
- for-in-range loop becomes a plain C for loop - for-in-range loop becomes a plain C for loop
""" """
PyDict_Size_func_type = PyrexTypes.CFuncType(
PyrexTypes.c_py_ssize_t_type, [
PyrexTypes.CFuncTypeArg("dict", PyrexTypes.py_object_type, None),
])
PyDict_Size_name = EncodedString("PyDict_Size")
PyDict_Size_entry = Symtab.Entry(
PyDict_Size_name, PyDict_Size_name, PyDict_Size_func_type)
visit_Node = Visitor.VisitorTransform.recurse_to_children visit_Node = Visitor.VisitorTransform.recurse_to_children
def visit_ModuleNode(self, node): def visit_ModuleNode(self, node):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment