# HG changeset patch # User Westley Martínez # Date 1301528204 25200 # Branch 2.7 # Node ID a96e369aea9e433e6332eba8d066da67dd0461e5 # Parent f4e6e18cae4b88ca725f4dd7c14580ec8885a421 Change "item" to "obj" in Queue.put and Queue.put_nowait in multiprocessing's documentation in order to match with current implementation. diff -r f4e6e18cae4b -r a96e369aea9e Doc/library/multiprocessing.rst --- a/Doc/library/multiprocessing.rst Tue Mar 29 17:28:25 2011 -0700 +++ b/Doc/library/multiprocessing.rst Wed Mar 30 16:36:44 2011 -0700 @@ -552,9 +552,9 @@ Return ``True`` if the queue is full, ``False`` otherwise. Because of multithreading/multiprocessing semantics, this is not reliable. - .. method:: put(item[, block[, timeout]]) - - Put item into the queue. If the optional argument *block* is ``True`` + .. method:: put(obj[, block[, timeout]]) + + Put obj into the queue. If the optional argument *block* is ``True`` (the default) and *timeout* is ``None`` (the default), block if necessary until a free slot is available. If *timeout* is a positive number, it blocks at most *timeout* seconds and raises the :exc:`Queue.Full` exception if no @@ -563,9 +563,9 @@ available, else raise the :exc:`Queue.Full` exception (*timeout* is ignored in that case). - .. method:: put_nowait(item) - - Equivalent to ``put(item, False)``. + .. method:: put_nowait(obj) + + Equivalent to ``put(obj, False)``. .. method:: get([block[, timeout]])