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