diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2018-06-03 22:14:13 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2018-06-03 22:14:13 +0200 |
commit | 43c1cb2eddaefadba11ac76ca0f88c75284717ff (patch) | |
tree | 43eb5da43b3eb31321142942efe7e947a896a607 /Cython/Compiler/ModuleNode.py | |
parent | 4f4841aa6e4e542f0bfc622cfa4d09dfc863a74d (diff) | |
parent | 93c7400a5027ee57ea710d6a0a26e3e339de5182 (diff) | |
download | cython-43c1cb2eddaefadba11ac76ca0f88c75284717ff.tar.gz |
Merge branch '0.28.x'
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 a3055d7e1..1ffe2d9b2 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -1606,7 +1606,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): code.putln("}") def generate_clear_function(self, scope, code, cclass_entry): - tp_slot = TypeSlots.GCDependentSlot("tp_clear") + tp_slot = TypeSlots.get_slot_by_name("tp_clear") slot_func = scope.mangle_internal("tp_clear") base_type = scope.parent_type.base_type if tp_slot.slot_code(scope) != slot_func: |