diff Doc/library/queue.rst @ 66209:bb12374c8dc6

Provide links to Python source where the code is short, readable and informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
author Éric Araujo <merwok@netwok.org>
date Tue, 16 Nov 2010 19:13:50 +0000
parents 9ac35215af4a
children 5f8eb9e7acdc
line wrap: on
line diff
--- a/Doc/library/queue.rst	Tue Nov 16 17:55:26 2010 +0000
+++ b/Doc/library/queue.rst	Tue Nov 16 19:13:50 2010 +0000
@@ -19,6 +19,11 @@
 the entries are kept sorted (using the :mod:`heapq` module) and the
 lowest valued entry is retrieved first.
 
+.. seealso::
+
+   Latest version of the :source:`queue module Python source code
+   <Lib/queue.py>`
+
 The :mod:`queue` module defines the following classes and exceptions:
 
 .. class:: Queue(maxsize=0)