[docs] [issue27624] unclear documentation on Queue.qsize()

Doug Hoskisson report at bugs.python.org
Tue Jul 26 17:30:03 EDT 2016


Doug Hoskisson added the comment:

My suggestion for this documentation:

"""
Return the number of items in the queue. Note, in multi-threading this mostly just serves as an approximation, and information from this doesn’t guarantee that a subsequent get() or put() will not block.
"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27624>
_______________________________________


More information about the docs mailing list