Update versionadded/changed.
This commit is contained in:
parent
7563494877
commit
f8754a60a8
|
@ -4,7 +4,7 @@
|
|||
.. module:: argparse
|
||||
:synopsis: Command-line option and argument parsing library.
|
||||
.. moduleauthor:: Steven Bethard <steven.bethard@gmail.com>
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
.. sectionauthor:: Steven Bethard <steven.bethard@gmail.com>
|
||||
|
||||
|
||||
|
|
|
@ -236,7 +236,7 @@ Archives operations
|
|||
*owner* and *group* are used when creating a tar archive. By default,
|
||||
uses the current owner and group.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. function:: get_archive_formats()
|
||||
|
@ -255,7 +255,7 @@ Archives operations
|
|||
You can register new formats or provide your own archiver for any existing
|
||||
formats, by using :func:`register_archive_format`.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. 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
|
||||
list of archivers. Defaults to an empty list.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. function:: unregister_archive_format(name)
|
||||
|
||||
Remove the archive format *name* from the list of supported formats.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
Archiving example
|
||||
|
|
|
@ -367,7 +367,7 @@ Connection Objects
|
|||
|
||||
.. method:: Connection.enable_load_extension(enabled)
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
This routine allows/disallows the SQLite engine to load SQLite extensions
|
||||
from shared libraries. SQLite extensions can define new functions,
|
||||
|
@ -378,7 +378,7 @@ Connection Objects
|
|||
|
||||
.. method:: Connection.load_extension(path)
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
This routine loads a SQLite extension from a shared library. You have to
|
||||
enable extension loading with ``enable_load_extension`` before you can use
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
:synopsis: Python's configuration information
|
||||
.. moduleauthor:: Tarek Ziade <tarek@ziade.org>
|
||||
.. sectionauthor:: Tarek Ziade <tarek@ziade.org>
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
.. index::
|
||||
single: configuration information
|
||||
|
||||
|
|
|
@ -324,7 +324,7 @@ The :mod:`test.support` module defines the following functions:
|
|||
w.reset()
|
||||
assert len(w.warnings) == 0
|
||||
|
||||
.. versionchanged:: 2.7
|
||||
.. versionchanged:: 3.2
|
||||
New optional attributes ``*filters`` and ``quiet``.
|
||||
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
.. versionchanged:: 2.6
|
||||
The ``is_set()`` syntax is new.
|
||||
|
||||
.. method:: set()
|
||||
|
||||
Set the internal flag to true. All threads waiting for it to become true
|
||||
|
|
|
@ -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
|
||||
the xml.etree.ElementTree.
|
||||
|
||||
.. versionchanged:: 2.7
|
||||
.. versionchanged:: 3.2
|
||||
The ElementTree API is updated to 1.3. For more information, see
|
||||
`Introducing ElementTree 1.3
|
||||
<http://effbot.org/zone/elementtree-13-intro.htm>`_.
|
||||
|
@ -80,7 +80,7 @@ Functions
|
|||
optional parser instance. If not given, the standard :class:`XMLParser`
|
||||
parser is used. Returns an :class:`Element` instance.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. function:: iselement(element)
|
||||
|
@ -133,7 +133,7 @@ Functions
|
|||
attributes in this namespace will be serialized with the given prefix, if at
|
||||
all possible.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. function:: SubElement(parent, tag, attrib={}, **extra)
|
||||
|
@ -167,7 +167,7 @@ Functions
|
|||
any specific sequence, except that ``"".join(tostringlist(element)) ==
|
||||
tostring(element)``.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. function:: XML(text, parser=None)
|
||||
|
@ -282,7 +282,7 @@ Element Objects
|
|||
Appends *subelements* from a sequence object with zero or more elements.
|
||||
Raises :exc:`AssertionError` if a subelement is not a valid object.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. method:: find(match)
|
||||
|
@ -336,7 +336,7 @@ Element Objects
|
|||
Finds all matching subelements, by tag name or path. Returns an iterable
|
||||
yielding all matching elements in document order.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. method:: itertext()
|
||||
|
@ -344,7 +344,7 @@ Element Objects
|
|||
Creates a text iterator. The iterator loops over this element and all
|
||||
subelements, in document order, and returns all inner text.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. method:: makeelement(tag, attrib)
|
||||
|
@ -446,7 +446,7 @@ ElementTree Objects
|
|||
getroot().iterfind(match). Returns an iterable yielding all matching
|
||||
elements in document order.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. method:: parse(source, parser=None)
|
||||
|
@ -559,7 +559,7 @@ TreeBuilder Objects
|
|||
the public identifier. *system* is the system identifier. This method
|
||||
does not exist on the default :class:`TreeBuilder` class.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. _elementtree-xmlparser-objects:
|
||||
|
|
|
@ -288,7 +288,7 @@ ZipFile Objects
|
|||
member of the given :class:`ZipInfo` instance. By default, the
|
||||
:class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`.
|
||||
|
||||
.. versionchanged:: 2.7
|
||||
.. versionchanged:: 3.2
|
||||
The *compression_type* argument.
|
||||
|
||||
The following data attributes are also available:
|
||||
|
|
|
@ -1152,8 +1152,6 @@ not bother to return a value of the same type as its argument, so e.g., ``not
|
|||
Conditional Expressions
|
||||
=======================
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
.. index::
|
||||
pair: conditional; expression
|
||||
pair: ternary; operator
|
||||
|
|
Loading…
Reference in New Issue