]> granicus.if.org Git - python/commitdiff
#13437: link to the source code for a few more modules
authorAndrew Kuchling <amk@amk.ca>
Wed, 19 Mar 2014 20:23:01 +0000 (16:23 -0400)
committerAndrew Kuchling <amk@amk.ca>
Wed, 19 Mar 2014 20:23:01 +0000 (16:23 -0400)
Doc/library/code.rst
Doc/library/codecs.rst
Doc/library/configparser.rst
Doc/library/csv.rst
Doc/library/datetime.rst
Doc/library/decimal.rst
Doc/library/difflib.rst

index 5b5d7cc8c1ad44b6835c2a7138011699c2e782d0..99bdedc065eddb0c3625275ddd8cf03f4587f605 100644 (file)
@@ -4,6 +4,7 @@
 .. module:: code
    :synopsis: Facilities to implement read-eval-print loops.
 
+**Source code:** :source:`Lib/code.py`
 
 The ``code`` module provides facilities to implement read-eval-print loops in
 Python.  Two classes and convenience functions are included which can be used to
@@ -165,4 +166,3 @@ interpreter objects as well as the following additions.
    newline.  When the user enters the EOF key sequence, :exc:`EOFError` is raised.
    The base implementation reads from ``sys.stdin``; a subclass may replace this
    with a different implementation.
-
index 3729dac8ae5c48c57656d8dc84cb29a2192dd2ab..36144e9ef231160f6f78faaf9b16d883d6c0e110 100644 (file)
@@ -7,6 +7,7 @@
 .. sectionauthor:: Marc-André Lemburg <mal@lemburg.com>
 .. sectionauthor:: Martin v. Löwis <martin@v.loewis.de>
 
+**Source code:** :source:`Lib/codecs.py`
 
 .. index::
    single: Unicode
@@ -1418,4 +1419,3 @@ This module implements a variant of the UTF-8 codec: On encoding a UTF-8 encoded
 BOM will be prepended to the UTF-8 encoded bytes. For the stateful encoder this
 is only done once (on the first write to the byte stream).  For decoding an
 optional UTF-8 encoded BOM at the start of the data will be skipped.
-
index 024d27cb84dd5cf42dda734692859e28d622c4dc..bd6c36410edb4c72afe54c373fa2ff51792a934f 100644 (file)
@@ -11,6 +11,8 @@
 .. sectionauthor:: Christopher G. Petrilli <petrilli@amber.org>
 .. sectionauthor:: Łukasz Langa <lukasz@langa.pl>
 
+**Source code:** :source:`Lib/configparser.py`
+
 .. index::
    pair: .ini; file
    pair: configuration; file
index ccc9dc6e4cddc1f340165b0bb6211255626c1c57..616df55ed0cbcdec833d828d71c1e13e2cf3aaa2 100644 (file)
@@ -5,6 +5,7 @@
    :synopsis: Write and read tabular data to and from delimited files.
 .. sectionauthor:: Skip Montanaro <skip@pobox.com>
 
+**Source code:** :source:`Lib/csv.py`
 
 .. index::
    single: csv
index e4f1eb23017759c7079fefa06245f58691019b36..f72b3154ca0b435fdddf029cfd92731b438c077b 100644 (file)
@@ -7,6 +7,8 @@
 .. sectionauthor:: Tim Peters <tim@zope.com>
 .. sectionauthor:: A.M. Kuchling <amk@amk.ca>
 
+**Source code:** :source:`Lib/datetime.py`
+
 .. XXX what order should the types be discussed in?
 
 The :mod:`datetime` module supplies classes for manipulating dates and times in
index 059ae7cb1690475ce9bbbaa09e15de2fb507cd30..aa526db3e863d7bca2c054fe439399a02e30f9d3 100644 (file)
@@ -12,6 +12,8 @@
 .. moduleauthor:: Stefan Krah <skrah at bytereef.org>
 .. sectionauthor:: Raymond D. Hettinger <python at rcn.com>
 
+**Source code:** :source:`Lib/decimal.py`
+
 .. import modules for testing inline doctests with the Sphinx doctest builder
 .. testsetup:: *
 
@@ -2092,4 +2094,3 @@ Alternatively, inputs can be rounded upon creation using the
 
    >>> Context(prec=5, rounding=ROUND_DOWN).create_decimal('1.2345678')
    Decimal('1.2345')
-
index 81dc0f16be3f8f944d9548f6d0dd396190756d74..913614d2e41d645d492772fa4502a18d18e331df 100644 (file)
@@ -7,6 +7,8 @@
 .. sectionauthor:: Tim Peters <tim_one@users.sourceforge.net>
 .. Markup by Fred L. Drake, Jr. <fdrake@acm.org>
 
+**Source code:** :source:`Lib/difflib.py`
+
 .. testsetup::
 
    import sys