allowing a type to explicitly indicate to the interpreter that it is not
hashable.
- .. versionadded:: 2.6
-
.. cfunction:: int PyObject_IsTrue(PyObject *o)
Example::
- .. versionadded:: 2.5
+ .. versionadded:: 3.1
The *spam* parameter.
Note that there must be no blank line between the directive head and 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
The keys are case-insensitive.
- .. versionadded:: 2.6
- The :attr:`httponly` attribute was added.
-
.. attribute:: Morsel.value
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:")
: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
Class used to record warnings for unit tests. See documentation of
:func:`check_warnings` above for more details.
- .. versionadded:: 2.6
-
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.
-
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