Commit 8c5cd4fa authored by Denis Bilenko's avatar Denis Bilenko

do not add incref to __repr__ of a watcher

parent b13f6705
......@@ -480,10 +480,6 @@ cdef public class watcher [object PyGeventWatcherObject, type PyGeventWatcher_Ty
result += " callback=%r" % (self.callback, )
if self.args is not None:
result += " args=%r" % (self.args, )
if self._incref == 1:
result += " ref"
elif self._incref:
result += " _incref=%s" % self._incref
return result + ">"
finally:
Py_ReprLeave(<PyObjectPtr>self)
......
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