Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19f9b71

Browse files
committed
Add a few missing source links from 2.7 and harmonize lib docs headers
1 parent d001ffe commit 19f9b71

7 files changed

Lines changed: 23 additions & 16 deletions

File tree

Doc/library/argparse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
.. moduleauthor:: Steven Bethard <[email protected]>
77
.. sectionauthor:: Steven Bethard <[email protected]>
88

9-
**Source code:** :source:`Lib/argparse.py`
10-
119
.. versionadded:: 3.2
1210

11+
**Source code:** :source:`Lib/argparse.py`
12+
1313
--------------
1414

1515
The :mod:`argparse` module makes it easy to write user-friendly command-line

Doc/library/atexit.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
.. moduleauthor:: Skip Montanaro <[email protected]>
77
.. sectionauthor:: Skip Montanaro <[email protected]>
88

9+
**Source code:** :source:`Lib/atexit.py`
10+
11+
--------------
912

1013
The :mod:`atexit` module defines functions to register and unregister cleanup
1114
functions. Functions thus registered are automatically executed upon normal

Doc/library/concurrent.futures.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
.. module:: concurrent.futures
55
:synopsis: Execute computations concurrently using threads or processes.
66

7+
.. versionadded:: 3.2
8+
79
**Source code:** :source:`Lib/concurrent/futures/thread.py`
810
and :source:`Lib/concurrent/futures/process.py`
911

10-
.. versionadded:: 3.2
11-
1212
--------------
1313

1414
The :mod:`concurrent.futures` module provides a high-level interface for

Doc/library/optparse.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
.. moduleauthor:: Greg Ward <[email protected]>
88
.. sectionauthor:: Greg Ward <[email protected]>
99

10+
.. deprecated:: 3.2
11+
The :mod:`optparse` module is deprecated and will not be developed further;
12+
development will continue with the :mod:`argparse` module.
13+
1014
**Source code:** :source:`Lib/optparse.py`
1115

1216
--------------
1317

14-
.. deprecated:: 2.7
15-
The :mod:`optparse` module is deprecated and will not be developed further;
16-
development will continue with the :mod:`argparse` module.
17-
1818
:mod:`optparse` is a more convenient, flexible, and powerful library for parsing
1919
command-line options than the old :mod:`getopt` module. :mod:`optparse` uses a
2020
more declarative style of command-line parsing: you create an instance of

Doc/library/string.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44
.. module:: string
55
:synopsis: Common string operations.
66

7+
**Source code:** :source:`Lib/string.py`
8+
9+
--------------
710

811
.. seealso::
912

1013
:ref:`typesseq`
1114

1215
:ref:`string-methods`
1316

14-
**Source code:** :source:`Lib/string.py`
15-
16-
--------------
17-
1817
String constants
1918
----------------
2019

Doc/library/sysconfig.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33

44
.. module:: sysconfig
55
:synopsis: Python's configuration information
6-
.. moduleauthor:: Tarek Ziade <[email protected]>
7-
.. sectionauthor:: Tarek Ziade <[email protected]>
6+
.. moduleauthor:: Tarek Ziadé <[email protected]>
7+
.. sectionauthor:: Tarek Ziadé <[email protected]>
8+
89
.. index::
910
single: configuration information
1011

11-
**Source code:** :source:`Lib/sysconfig.py`
12-
1312
.. versionadded:: 3.2
1413

14+
**Source code:** :source:`Lib/sysconfig.py`
15+
1516
--------------
1617

1718
The :mod:`sysconfig` module provides access to Python's configuration

Doc/library/urllib.parse.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
pair: URL; parsing
1313
pair: relative; URL
1414

15+
**Source code:** :source:`Lib/urllib/parse.py`
16+
17+
--------------
18+
1519
This module defines a standard interface to break Uniform Resource Locator (URL)
1620
strings up in components (addressing scheme, network location, path etc.), to
1721
combine the components back into a URL string, and to convert a "relative URL"

0 commit comments

Comments
 (0)