Update versionadded/changed.

This commit is contained in:
Ezio Melotti 2010-03-21 07:16:43 +00:00
parent 7563494877
commit f8754a60a8
9 changed files with 19 additions and 24 deletions

View file

@ -4,7 +4,7 @@
.. module:: argparse .. module:: argparse
:synopsis: Command-line option and argument parsing library. :synopsis: Command-line option and argument parsing library.
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com> .. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
.. versionadded:: 2.7 .. versionadded:: 3.2
.. sectionauthor:: Steven Bethard <steven.bethard@gmail.com> .. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>

View file

@ -236,7 +236,7 @@ Archives operations
*owner* and *group* are used when creating a tar archive. By default, *owner* and *group* are used when creating a tar archive. By default,
uses the current owner and group. uses the current owner and group.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. function:: get_archive_formats() .. function:: get_archive_formats()
@ -255,7 +255,7 @@ Archives operations
You can register new formats or provide your own archiver for any existing You can register new formats or provide your own archiver for any existing
formats, by using :func:`register_archive_format`. formats, by using :func:`register_archive_format`.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. function:: register_archive_format(name, function, [extra_args, [description]]) .. function:: register_archive_format(name, function, [extra_args, [description]])
@ -269,14 +269,14 @@ Archives operations
*description* is used by :func:`get_archive_formats` which returns the *description* is used by :func:`get_archive_formats` which returns the
list of archivers. Defaults to an empty list. list of archivers. Defaults to an empty list.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. function:: unregister_archive_format(name) .. function:: unregister_archive_format(name)
Remove the archive format *name* from the list of supported formats. Remove the archive format *name* from the list of supported formats.
.. versionadded:: 2.7 .. versionadded:: 3.2
Archiving example Archiving example

View file

@ -367,7 +367,7 @@ Connection Objects
.. method:: Connection.enable_load_extension(enabled) .. method:: Connection.enable_load_extension(enabled)
.. versionadded:: 2.7 .. versionadded:: 3.2
This routine allows/disallows the SQLite engine to load SQLite extensions This routine allows/disallows the SQLite engine to load SQLite extensions
from shared libraries. SQLite extensions can define new functions, from shared libraries. SQLite extensions can define new functions,
@ -378,7 +378,7 @@ Connection Objects
.. method:: Connection.load_extension(path) .. method:: Connection.load_extension(path)
.. versionadded:: 2.7 .. versionadded:: 3.2
This routine loads a SQLite extension from a shared library. You have to This routine loads a SQLite extension from a shared library. You have to
enable extension loading with ``enable_load_extension`` before you can use enable extension loading with ``enable_load_extension`` before you can use

View file

@ -5,7 +5,7 @@
:synopsis: Python's configuration information :synopsis: Python's configuration information
.. moduleauthor:: Tarek Ziade <tarek@ziade.org> .. moduleauthor:: Tarek Ziade <tarek@ziade.org>
.. sectionauthor:: Tarek Ziade <tarek@ziade.org> .. sectionauthor:: Tarek Ziade <tarek@ziade.org>
.. versionadded:: 2.7 .. versionadded:: 3.2
.. index:: .. index::
single: configuration information single: configuration information

View file

@ -324,7 +324,7 @@ The :mod:`test.support` module defines the following functions:
w.reset() w.reset()
assert len(w.warnings) == 0 assert len(w.warnings) == 0
.. versionchanged:: 2.7 .. versionchanged:: 3.2
New optional attributes ``*filters`` and ``quiet``. New optional attributes ``*filters`` and ``quiet``.

View file

@ -647,9 +647,6 @@ An event object manages an internal flag that can be set to true with the
Return true if and only if the internal flag is true. Return true if and only if the internal flag is true.
.. versionchanged:: 2.6
The ``is_set()`` syntax is new.
.. method:: set() .. method:: set()
Set the internal flag to true. All threads waiting for it to become true Set the internal flag to true. All threads waiting for it to become true

View file

@ -35,7 +35,7 @@ See http://effbot.org/zone/element-index.htm for tutorials and links to other
docs. Fredrik Lundh's page is also the location of the development version of docs. Fredrik Lundh's page is also the location of the development version of
the xml.etree.ElementTree. the xml.etree.ElementTree.
.. versionchanged:: 2.7 .. versionchanged:: 3.2
The ElementTree API is updated to 1.3. For more information, see The ElementTree API is updated to 1.3. For more information, see
`Introducing ElementTree 1.3 `Introducing ElementTree 1.3
<http://effbot.org/zone/elementtree-13-intro.htm>`_. <http://effbot.org/zone/elementtree-13-intro.htm>`_.
@ -80,7 +80,7 @@ Functions
optional parser instance. If not given, the standard :class:`XMLParser` optional parser instance. If not given, the standard :class:`XMLParser`
parser is used. Returns an :class:`Element` instance. parser is used. Returns an :class:`Element` instance.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. function:: iselement(element) .. function:: iselement(element)
@ -133,7 +133,7 @@ Functions
attributes in this namespace will be serialized with the given prefix, if at attributes in this namespace will be serialized with the given prefix, if at
all possible. all possible.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. function:: SubElement(parent, tag, attrib={}, **extra) .. function:: SubElement(parent, tag, attrib={}, **extra)
@ -167,7 +167,7 @@ Functions
any specific sequence, except that ``"".join(tostringlist(element)) == any specific sequence, except that ``"".join(tostringlist(element)) ==
tostring(element)``. tostring(element)``.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. function:: XML(text, parser=None) .. function:: XML(text, parser=None)
@ -282,7 +282,7 @@ Element Objects
Appends *subelements* from a sequence object with zero or more elements. Appends *subelements* from a sequence object with zero or more elements.
Raises :exc:`AssertionError` if a subelement is not a valid object. Raises :exc:`AssertionError` if a subelement is not a valid object.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. method:: find(match) .. method:: find(match)
@ -336,7 +336,7 @@ Element Objects
Finds all matching subelements, by tag name or path. Returns an iterable Finds all matching subelements, by tag name or path. Returns an iterable
yielding all matching elements in document order. yielding all matching elements in document order.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. method:: itertext() .. method:: itertext()
@ -344,7 +344,7 @@ Element Objects
Creates a text iterator. The iterator loops over this element and all Creates a text iterator. The iterator loops over this element and all
subelements, in document order, and returns all inner text. subelements, in document order, and returns all inner text.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. method:: makeelement(tag, attrib) .. method:: makeelement(tag, attrib)
@ -446,7 +446,7 @@ ElementTree Objects
getroot().iterfind(match). Returns an iterable yielding all matching getroot().iterfind(match). Returns an iterable yielding all matching
elements in document order. elements in document order.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. method:: parse(source, parser=None) .. method:: parse(source, parser=None)
@ -559,7 +559,7 @@ TreeBuilder Objects
the public identifier. *system* is the system identifier. This method the public identifier. *system* is the system identifier. This method
does not exist on the default :class:`TreeBuilder` class. does not exist on the default :class:`TreeBuilder` class.
.. versionadded:: 2.7 .. versionadded:: 3.2
.. _elementtree-xmlparser-objects: .. _elementtree-xmlparser-objects:

View file

@ -288,7 +288,7 @@ ZipFile Objects
member of the given :class:`ZipInfo` instance. By default, the member of the given :class:`ZipInfo` instance. By default, the
:class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`. :class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`.
.. versionchanged:: 2.7 .. versionchanged:: 3.2
The *compression_type* argument. The *compression_type* argument.
The following data attributes are also available: The following data attributes are also available:

View file

@ -1152,8 +1152,6 @@ not bother to return a value of the same type as its argument, so e.g., ``not
Conditional Expressions Conditional Expressions
======================= =======================
.. versionadded:: 2.5
.. index:: .. index::
pair: conditional; expression pair: conditional; expression
pair: ternary; operator pair: ternary; operator