[Python-checkins] r52840 - python/trunk/Lib/Queue.py
raymond.hettinger
python-checkins at python.org
Thu Nov 23 22:35:20 CET 2006
Author: raymond.hettinger
Date: Thu Nov 23 22:35:19 2006
New Revision: 52840
Modified:
python/trunk/Lib/Queue.py
Log:
... and the number of the counting shall be three.
Modified: python/trunk/Lib/Queue.py
==============================================================================
--- python/trunk/Lib/Queue.py (original)
+++ python/trunk/Lib/Queue.py Thu Nov 23 22:35:19 2006
@@ -26,7 +26,7 @@
self._init(maxsize)
# mutex must be held whenever the queue is mutating. All methods
# that acquire mutex must release it before returning. mutex
- # is shared between the two conditions, so acquiring and
+ # is shared between the three conditions, so acquiring and
# releasing the conditions also acquires and releases mutex.
self.mutex = threading.Lock()
# Notify not_empty whenever an item is added to the queue; a
More information about the Python-checkins
mailing list