File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1274,7 +1274,7 @@ registering custom adapter functions.
1274
1274
Letting your object adapt itself
1275
1275
""""""""""""""""""""""""""""""""
1276
1276
1277
- Suppose we have a `` Point ` ` class that represents a pair of coordinates,
1277
+ Suppose we have a :class: ` ! Point ` class that represents a pair of coordinates,
1278
1278
``x `` and ``y ``, in a Cartesian coordinate system.
1279
1279
The coordinate pair will be stored as a text string in the database,
1280
1280
using a semicolon to separate the coordinates.
@@ -1305,11 +1305,11 @@ values.
1305
1305
To be able to convert *from * SQLite values *to * custom Python types,
1306
1306
we use *converters *.
1307
1307
1308
- Let's go back to the :class: `Point ` class. We stored the x and y coordinates
1308
+ Let's go back to the :class: `! Point ` class. We stored the x and y coordinates
1309
1309
separated via semicolons as strings in SQLite.
1310
1310
1311
1311
First, we'll define a converter function that accepts the string as a parameter
1312
- and constructs a :class: `Point ` object from it.
1312
+ and constructs a :class: `! Point ` object from it.
1313
1313
1314
1314
.. note ::
1315
1315
You can’t perform that action at this time.
0 commit comments