Commit 1a3d6371 authored by Stefan Behnel's avatar Stefan Behnel

comment fix

parent 4d6a6af0
...@@ -2317,8 +2317,8 @@ class DefNode(FuncDefNode): ...@@ -2317,8 +2317,8 @@ class DefNode(FuncDefNode):
# the closure instance must be properly ref-counted to # the closure instance must be properly ref-counted to
# facilitate generic closure instance deallocation. In # facilitate generic closure instance deallocation. In
# the case of an argument type error, it's best to just # the case of an argument type error, it's best to just
# Py_CLEAR() the already handled references, as this frees # DECREF+clear the already handled references, as this
# them as early as possible. # frees their references as early as possible.
for arg in self.args: for arg in self.args:
if arg.type.is_pyobject and arg.entry.in_closure: if arg.type.is_pyobject and arg.entry.in_closure:
code.put_var_xdecref_clear(arg.entry) code.put_var_xdecref_clear(arg.entry)
......
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