Commit c20c2587 authored by David Wilson's avatar David Wilson

issue #156: make Latch() repr match Pool() repr.

parent 7f4b89b7
......@@ -1001,7 +1001,7 @@ class Latch(object):
def __repr__(self):
rsock = getattr(_tls, 'rsock', None)
wsock = getattr(_tls, 'wsock', None)
return 'Latch(%r, size=%d, t=%r, r=%r, w=%r)' % (
return 'Latch(%#x, size=%d, t=%r, r=%r, w=%r)' % (
id(self),
len(self.queue),
threading.currentThread().name,
......
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