Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0cac43bb
Commit
0cac43bb
authored
Aug 15, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark deprecated modules as such.
parent
54f55784
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
25 additions
and
3 deletions
+25
-3
Doc/documenting/markup.rst
Doc/documenting/markup.rst
+10
-0
Doc/library/md5.rst
Doc/library/md5.rst
+1
-0
Doc/library/mimetools.rst
Doc/library/mimetools.rst
+1
-0
Doc/library/mimewriter.rst
Doc/library/mimewriter.rst
+1
-0
Doc/library/mimify.rst
Doc/library/mimify.rst
+1
-0
Doc/library/multifile.rst
Doc/library/multifile.rst
+1
-0
Doc/library/popen2.rst
Doc/library/popen2.rst
+1
-0
Doc/library/posixfile.rst
Doc/library/posixfile.rst
+1
-0
Doc/library/rfc822.rst
Doc/library/rfc822.rst
+1
-0
Doc/library/sets.rst
Doc/library/sets.rst
+1
-0
Doc/library/sha.rst
Doc/library/sha.rst
+1
-0
Doc/library/stringprep.rst
Doc/library/stringprep.rst
+1
-0
Doc/library/xmllib.rst
Doc/library/xmllib.rst
+1
-0
Doc/library/zipfile.rst
Doc/library/zipfile.rst
+3
-3
No files found.
Doc/documenting/markup.rst
View file @
0cac43bb
...
...
@@ -79,6 +79,9 @@ As you can see, the module-specific markup consists of two directives, the
The
``
synopsis
``
option
should
consist
of
one
sentence
describing
the
module
's purpose -- it is currently only used in the Global Module Index.
The ``deprecated`` option can be given (with no value) to mark a module as
deprecated; it will be designated as such in various locations then.
.. describe:: moduleauthor
The ``moduleauthor`` directive, which can appear multiple times, names the
...
...
@@ -333,6 +336,13 @@ the current module, or the built-in function of that name. In contrast,
``:func:`foo.filter``` clearly refers to the ``filter`` function in the ``foo``
module.
Normally, names in these roles are searched first without any further
qualification, then with the current module name prepended, then with the
current module and class name (if any) prepended. If you prefix the name with a
dot, this order is reversed. For example, in the documentation of the
:mod:`codecs` module, ``:func:`open``` always refers to the built-in function,
while ``:func:`.open``` refers to :func:`codecs.open`.
A similar heuristic is used to determine whether the name is an attribute of
the currently documented class.
...
...
Doc/library/md5.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: md5
:synopsis: RSA's MD5 message digest algorithm.
:deprecated:
.. deprecated:: 2.5
...
...
Doc/library/mimetools.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: mimetools
:synopsis: Tools for parsing MIME-style message bodies.
:deprecated:
.. deprecated:: 2.3
...
...
Doc/library/mimewriter.rst
View file @
0cac43bb
...
...
@@ -3,6 +3,7 @@
.. module:: MimeWriter
:synopsis: Write MIME format files.
:deprecated:
.. sectionauthor:: Christopher G. Petrilli <petrilli@amber.org>
...
...
Doc/library/mimify.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: mimify
:synopsis: Mimification and unmimification of mail messages.
:deprecated:
.. deprecated:: 2.3
...
...
Doc/library/multifile.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: multifile
:synopsis: Support for reading files which contain distinct parts, such as some MIME data.
:deprecated:
.. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
...
...
Doc/library/popen2.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: popen2
:synopsis: Subprocesses with accessible standard I/O streams.
:deprecated:
.. sectionauthor:: Drew Csillag <drew_csillag@geocities.com>
...
...
Doc/library/posixfile.rst
View file @
0cac43bb
...
...
@@ -7,6 +7,7 @@
.. module:: posixfile
:platform: Unix
:synopsis: A file-like object with support for locking.
:deprecated:
.. moduleauthor:: Jaap Vermeulen
.. sectionauthor:: Jaap Vermeulen
...
...
Doc/library/rfc822.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: rfc822
:synopsis: Parse 2822 style mail messages.
:deprecated:
.. deprecated:: 2.3
...
...
Doc/library/sets.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: sets
:synopsis: Implementation of sets of unique elements.
:deprecated:
.. moduleauthor:: Greg V. Wilson <gvwilson@nevex.com>
.. moduleauthor:: Alex Martelli <aleax@aleax.it>
.. moduleauthor:: Guido van Rossum <guido@python.org>
...
...
Doc/library/sha.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: sha
:synopsis: NIST's secure hash algorithm, SHA.
:deprecated:
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
...
...
Doc/library/stringprep.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: stringprep
:synopsis: String preparation, as per RFC 3453
:deprecated:
.. moduleauthor:: Martin v. Löwis <martin@v.loewis.de>
.. sectionauthor:: Martin v. Löwis <martin@v.loewis.de>
...
...
Doc/library/xmllib.rst
View file @
0cac43bb
...
...
@@ -4,6 +4,7 @@
.. module:: xmllib
:synopsis: A parser for XML documents.
:deprecated:
.. moduleauthor:: Sjoerd Mullender
<Sjoerd
.
Mullender
@
cwi
.
nl
>
.. sectionauthor:: Sjoerd Mullender
<Sjoerd
.
Mullender
@
cwi
.
nl
>
...
...
Doc/library/zipfile.rst
View file @
0cac43bb
...
...
@@ -168,11 +168,11 @@ ZipFile Objects
.. note::
If the ZipFile was created by passing in a file-like object as the first
argument to the constructor, then the object returned by :meth:`open` shares the
argument to the constructor, then the object returned by :meth:`
.
open` shares the
ZipFile's file pointer. Under these circumstances, the object returned by
:meth:`open` should not be used after any additional operations are performed
:meth:`
.
open` should not be used after any additional operations are performed
on the ZipFile object. If the ZipFile was created by passing in a string (the
filename) as the first argument to the constructor, then :meth:`open` will
filename) as the first argument to the constructor, then :meth:`
.
open` will
create a new file object that will be held by the ZipExtFile, allowing it to
operate independently of the ZipFile.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment