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 @@ -1571,7 +1571,7 @@ registering custom adapter functions.
1571
1571
Letting your object adapt itself
1572
1572
""""""""""""""""""""""""""""""""
1573
1573
1574
- Suppose we have a `` Point ` ` class that represents a pair of coordinates,
1574
+ Suppose we have a :class: ` ! Point ` class that represents a pair of coordinates,
1575
1575
``x `` and ``y ``, in a Cartesian coordinate system.
1576
1576
The coordinate pair will be stored as a text string in the database,
1577
1577
using a semicolon to separate the coordinates.
@@ -1602,11 +1602,11 @@ values.
1602
1602
To be able to convert *from * SQLite values *to * custom Python types,
1603
1603
we use *converters *.
1604
1604
1605
- Let's go back to the :class: `Point ` class. We stored the x and y coordinates
1605
+ Let's go back to the :class: `! Point ` class. We stored the x and y coordinates
1606
1606
separated via semicolons as strings in SQLite.
1607
1607
1608
1608
First, we'll define a converter function that accepts the string as a parameter
1609
- and constructs a :class: `Point ` object from it.
1609
+ and constructs a :class: `! Point ` object from it.
1610
1610
1611
1611
.. note ::
1612
1612
You can’t perform that action at this time.
0 commit comments