summaryrefslogtreecommitdiffstats
path: root/Doc/library/tokenize.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-11-06 07:10:31 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-11-06 07:10:31 (GMT)
commite0e082281ef9ec89d2d2cfdd18eddf4685068c59 (patch)
tree37cef4be4e3f2873026b2b674d15bd056cafa61a /Doc/library/tokenize.rst
parentd5cd1ff7da20543794496dc4a8867fafff0c87a2 (diff)
downloadcpython-e0e082281ef9ec89d2d2cfdd18eddf4685068c59.zip
cpython-e0e082281ef9ec89d2d2cfdd18eddf4685068c59.tar.gz
cpython-e0e082281ef9ec89d2d2cfdd18eddf4685068c59.tar.bz2
Add more links to Python sources where the code is short, readable and an informative adjunct to the docs.
Diffstat (limited to 'Doc/library/tokenize.rst')
-rw-r--r--Doc/library/tokenize.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/tokenize.rst b/Doc/library/tokenize.rst
index 36f5838..2a7dea1 100644
--- a/Doc/library/tokenize.rst
+++ b/Doc/library/tokenize.rst
@@ -13,6 +13,11 @@ implemented in Python. The scanner in this module returns comments as tokens as
well, making it useful for implementing "pretty-printers," including colorizers
for on-screen displays.
+.. seealso::
+
+ Latest version of the `tokenize module Python source code
+ <http://svn.python.org/view/python/branches/release27-maint/Lib/tokenize.py?view=markup>`_
+
The primary entry point is a :term:`generator`:
.. function:: generate_tokens(readline)