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

This commit is contained in:
David Wilson 2018-03-20 02:18:33 +05:45
parent 7f4b89b7bb
commit c20c2587d9
1 changed files with 1 additions and 1 deletions

View File

@ -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,