Kaydet (Commit) 277a1501 authored tarafından Georg Brandl's avatar Georg Brandl

Remove 2.6 versionchanges, turn 2.7 ones into 3.1.

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