summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-17 15:07:14 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-17 15:07:14 (GMT)
commit67b21b7547feee634bbecafeb88606ff350c0d3c (patch)
treebd493e5b10f9cead75ed145def9e0098b53188ab /Doc/library/sqlite3.rst
parent9e25701e87936ef61c348b5da6f9b580a52bab19 (diff)
downloadcpython-67b21b7547feee634bbecafeb88606ff350c0d3c.zip
cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.gz
cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.bz2
Consistency check for versionadded/changed directives.
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst12
1 files changed, 5 insertions, 7 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index d4f2123..6092edb 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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