mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Consistency check for versionadded/changed directives.
This commit is contained in:
parent
9e25701e87
commit
67b21b7547
33 changed files with 129 additions and 114 deletions
|
@ -229,11 +229,10 @@ Connection Objects
|
|||
|
||||
.. attribute:: Connection.in_transaction
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
:const:`True` if a transaction is active (there are uncommitted changes),
|
||||
:const:`False` otherwise. Read-only attribute.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
.. method:: Connection.cursor([cursorClass])
|
||||
|
||||
|
@ -241,7 +240,6 @@ Connection Objects
|
|||
supplied, this must be a custom cursor class that extends
|
||||
:class:`sqlite3.Cursor`.
|
||||
|
||||
|
||||
.. method:: Connection.commit()
|
||||
|
||||
This method commits the current transaction. If you don't call this method,
|
||||
|
@ -374,23 +372,23 @@ Connection Objects
|
|||
|
||||
.. method:: Connection.enable_load_extension(enabled)
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
This routine allows/disallows the SQLite engine to load SQLite extensions
|
||||
from shared libraries. SQLite extensions can define new functions,
|
||||
aggregates or whole new virtual table implementations. One well-known
|
||||
extension is the fulltext-search extension distributed with SQLite.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
.. literalinclude:: ../includes/sqlite3/load_extension.py
|
||||
|
||||
.. method:: Connection.load_extension(path)
|
||||
|
||||
.. 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
|
||||
this routine.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
.. attribute:: Connection.row_factory
|
||||
|
||||
You can change this attribute to a callable that accepts the cursor and the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue