Remove 2.6 versionchanges, turn 2.7 ones into 3.1.
This commit is contained in:
parent
ff96b2ae14
commit
277a150146
|
@ -262,8 +262,6 @@ is considered sufficient for this determination.
|
|||
allowing a type to explicitly indicate to the interpreter that it is not
|
||||
hashable.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
|
||||
.. cfunction:: int PyObject_IsTrue(PyObject *o)
|
||||
|
||||
|
|
|
@ -598,7 +598,7 @@ units as well as normal text:
|
|||
|
||||
Example::
|
||||
|
||||
.. versionadded:: 2.5
|
||||
.. versionadded:: 3.1
|
||||
The *spam* parameter.
|
||||
|
||||
Note that there must be no blank line between the directive head and the
|
||||
|
|
|
@ -107,10 +107,6 @@ described here are distributed with the Python sources in the
|
|||
to avoid confusion with a system library :file:`spam.dll` to which your module
|
||||
could be a Python interface.
|
||||
|
||||
.. versionchanged:: 2.5
|
||||
Previously, file names like :file:`spam.dll` (in release mode) or
|
||||
:file:`spam_d.dll` (in debug mode) were also recognized.
|
||||
|
||||
Now your options are:
|
||||
|
||||
#. Copy :file:`example.sln` and :file:`example.vcproj`, rename them to
|
||||
|
|
|
@ -131,9 +131,6 @@ Morsel Objects
|
|||
|
||||
The keys are case-insensitive.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
The :attr:`httponly` attribute was added.
|
||||
|
||||
|
||||
.. attribute:: Morsel.value
|
||||
|
||||
|
|
|
@ -562,16 +562,11 @@ Row Objects
|
|||
If two :class:`Row` objects have exactly the same columns and their
|
||||
members are equal, they compare equal.
|
||||
|
||||
.. versionchanged:: 2.6
|
||||
Added iteration and equality (hashability).
|
||||
|
||||
.. method:: keys
|
||||
|
||||
This method returns a tuple of column names. Immediately after a query,
|
||||
it is the first member of each tuple in :attr:`Cursor.description`.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
Let's assume we initialize a table as in the example given above::
|
||||
|
||||
conn = sqlite3.connect(":memory:")
|
||||
|
|
|
@ -461,8 +461,6 @@ The float type has some additional methods.
|
|||
:exc:`OverflowError` on infinities and a :exc:`ValueError` on
|
||||
NaNs.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
Two methods support conversion to
|
||||
and from hexadecimal strings. Since Python's floats are stored
|
||||
internally as binary numbers, converting a float to or from a
|
||||
|
|
|
@ -353,5 +353,3 @@ The :mod:`test.support` module defines the following classes:
|
|||
Class used to record warnings for unit tests. See documentation of
|
||||
:func:`check_warnings` above for more details.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
|
|
|
@ -335,8 +335,3 @@ Available Context Managers
|
|||
module returned when you import :mod:`warnings` whose filter will be
|
||||
protected. This argument exists primarily for testing the :mod:`warnings`
|
||||
module itself.
|
||||
|
||||
.. versionchanged:: 3.0
|
||||
|
||||
Constructor arguments turned into keyword-only arguments.
|
||||
|
||||
|
|
|
@ -67,8 +67,8 @@ The module defines the following items:
|
|||
otherwise returns ``False``. *filename* may be a file or file-like object too.
|
||||
This module does not currently handle ZIP files which have appended comments.
|
||||
|
||||
.. versionchanged:: 2.7
|
||||
Support for file and file-like objects.
|
||||
.. versionchanged:: 3.1
|
||||
Support for file and file-like objects.
|
||||
|
||||
.. data:: ZIP_STORED
|
||||
|
||||
|
|
Loading…
Reference in New Issue