Commit 50cef915 authored by Denis Bilenko's avatar Denis Bilenko

core: add _format() to child object

parent b877b041
...@@ -854,6 +854,9 @@ cdef public class child(watcher) [object PyGeventChildObject, type PyGeventChild ...@@ -854,6 +854,9 @@ cdef public class child(watcher) [object PyGeventChildObject, type PyGeventChild
else: else:
self._flags = 4 self._flags = 4
def _format(self):
return ' pid=%r rstatus=%r' % (self.pid, self.rstatus)
property pid: property pid:
def __get__(self): def __get__(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