Commit bb04dd39 authored by Denis Bilenko's avatar Denis Bilenko

remove garbage from core.callback __repr__

parent 9f4569fd
...@@ -538,7 +538,7 @@ cdef public class callback [object PyGeventCallbackObject, type PyGeventCallback ...@@ -538,7 +538,7 @@ cdef public class callback [object PyGeventCallbackObject, type PyGeventCallback
return "<...>" return "<...>"
try: try:
format = self._format() format = self._format()
result = "<yy %s at 0x%x%s" % (self.__class__.__name__, id(self), format) result = "<%s at 0x%x%s" % (self.__class__.__name__, id(self), format)
if self.pending: if self.pending:
result += " pending" result += " pending"
if self.callback is not None: if self.callback is not None:
......
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