#13437: link to the source code for a few more modules

This commit is contained in:
Andrew Kuchling 2014-03-19 16:23:01 -04:00
parent 26e417b182
commit 2e3743cd30
7 changed files with 11 additions and 3 deletions

View File

@ -4,6 +4,7 @@
.. module:: code .. module:: code
:synopsis: Facilities to implement read-eval-print loops. :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 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 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. 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 The base implementation reads from ``sys.stdin``; a subclass may replace this
with a different implementation. with a different implementation.

View File

@ -7,6 +7,7 @@
.. sectionauthor:: Marc-André Lemburg <mal@lemburg.com> .. sectionauthor:: Marc-André Lemburg <mal@lemburg.com>
.. sectionauthor:: Martin v. Löwis <martin@v.loewis.de> .. sectionauthor:: Martin v. Löwis <martin@v.loewis.de>
**Source code:** :source:`Lib/codecs.py`
.. index:: .. index::
single: Unicode 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 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 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. optional UTF-8 encoded BOM at the start of the data will be skipped.

View File

@ -11,6 +11,8 @@
.. sectionauthor:: Christopher G. Petrilli <petrilli@amber.org> .. sectionauthor:: Christopher G. Petrilli <petrilli@amber.org>
.. sectionauthor:: Łukasz Langa <lukasz@langa.pl> .. sectionauthor:: Łukasz Langa <lukasz@langa.pl>
**Source code:** :source:`Lib/configparser.py`
.. index:: .. index::
pair: .ini; file pair: .ini; file
pair: configuration; file pair: configuration; file

View File

@ -5,6 +5,7 @@
:synopsis: Write and read tabular data to and from delimited files. :synopsis: Write and read tabular data to and from delimited files.
.. sectionauthor:: Skip Montanaro <skip@pobox.com> .. sectionauthor:: Skip Montanaro <skip@pobox.com>
**Source code:** :source:`Lib/csv.py`
.. index:: .. index::
single: csv single: csv

View File

@ -7,6 +7,8 @@
.. sectionauthor:: Tim Peters <tim@zope.com> .. sectionauthor:: Tim Peters <tim@zope.com>
.. sectionauthor:: A.M. Kuchling <amk@amk.ca> .. sectionauthor:: A.M. Kuchling <amk@amk.ca>
**Source code:** :source:`Lib/datetime.py`
.. XXX what order should the types be discussed in? .. XXX what order should the types be discussed in?
The :mod:`datetime` module supplies classes for manipulating dates and times in The :mod:`datetime` module supplies classes for manipulating dates and times in

View File

@ -12,6 +12,8 @@
.. moduleauthor:: Stefan Krah <skrah at bytereef.org> .. moduleauthor:: Stefan Krah <skrah at bytereef.org>
.. sectionauthor:: Raymond D. Hettinger <python at rcn.com> .. 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 .. import modules for testing inline doctests with the Sphinx doctest builder
.. testsetup:: * .. testsetup:: *
@ -2092,4 +2094,3 @@ Alternatively, inputs can be rounded upon creation using the
>>> Context(prec=5, rounding=ROUND_DOWN).create_decimal('1.2345678') >>> Context(prec=5, rounding=ROUND_DOWN).create_decimal('1.2345678')
Decimal('1.2345') Decimal('1.2345')

View File

@ -7,6 +7,8 @@
.. sectionauthor:: Tim Peters <tim_one@users.sourceforge.net> .. sectionauthor:: Tim Peters <tim_one@users.sourceforge.net>
.. Markup by Fred L. Drake, Jr. <fdrake@acm.org> .. Markup by Fred L. Drake, Jr. <fdrake@acm.org>
**Source code:** :source:`Lib/difflib.py`
.. testsetup:: .. testsetup::
import sys import sys