Commit 07caf0aa authored by Denis Bilenko's avatar Denis Bilenko

resolver_thread.Resolver: add __repr__

parent 1cee4dcc
......@@ -15,6 +15,9 @@ class Resolver(object):
hub = get_hub()
self.pool = hub.threadpool
def __repr__(self):
return '<gevent.resolver_thread.Resolver at 0x%x pool=%r>' % (id(self), self.pool)
def close(self):
pass
......
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