@@ -323,7 +323,7 @@ Module functions and constants
323
323
Register the *converter * callable to convert SQLite objects of type *typename * into a
324
324
Python object of a specific type. The converter is invoked for all SQLite values of type
325
325
*typename *. Consult the parameter *detect_types * of
326
- :meth: `Connection.connect ` regarding how type detection works.
326
+ :meth: `Connection.connect ` for information regarding how type detection works.
327
327
328
328
Note: *typename * and the name of the type in your query are matched in a
329
329
case-insensitive manner.
@@ -1220,7 +1220,7 @@ Using adapters to store custom Python types in SQLite databases
1220
1220
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1221
1221
1222
1222
SQLite supports only a limited set of types natively.
1223
- To store custom Python types in SQLite databases, **adapt ** them one of the
1223
+ To store custom Python types in SQLite databases, **adapt ** them to one of the
1224
1224
basic types supported by SQLite:
1225
1225
:class: `int `, :class: `float `, :class: `str `, :class: `bytes `, or :const: `None `.
1226
1226
@@ -1235,7 +1235,7 @@ custom adapter functions.
1235
1235
Letting your object adapt itself
1236
1236
""""""""""""""""""""""""""""""""
1237
1237
1238
- Suppose we have ``Point `` class that represents a pair of coordinates,
1238
+ Suppose we have a ``Point `` class that represents a pair of coordinates,
1239
1239
``x `` and ``y ``, in a Cartesian coordinate system.
1240
1240
The coordinate pair will be stored as a text string in the database,
1241
1241
using a semicolon to separate the coordinates.
@@ -1268,7 +1268,7 @@ Converting SQLite values to custom Python types
1268
1268
1269
1269
Writing an adapter lets you send custom Python types to SQLite. But to make it
1270
1270
really useful we need to make the Python to SQLite to Python roundtrip work.
1271
- To be able to convert SQLite value to custom Python types, we use _converters_.
1271
+ To be able to convert SQLite values to custom Python types, we use _converters_.
1272
1272
1273
1273
Let's go back to the :class: `Point ` class. We stored the x and y coordinates
1274
1274
separated via semicolons as strings in SQLite.
0 commit comments