From cab487ce3f2a181ea24ca3425ff4a2f95e3a0b5e Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Thu, 18 Aug 2022 19:23:35 -0500 Subject: [PATCH] Doc: Fix ref warnings for Point class in sqlite3 & make consistant --- Doc/library/sqlite3.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 540302437e7dbf..28176ef2e96cdb 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -1611,7 +1611,7 @@ registering custom adapter functions. Letting your object adapt itself """""""""""""""""""""""""""""""" -Suppose we have a ``Point`` class that represents a pair of coordinates, +Suppose we have a :class:`!Point` class that represents a pair of coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The coordinate pair will be stored as a text string in the database, using a semicolon to separate the coordinates. @@ -1642,11 +1642,11 @@ values. To be able to convert *from* SQLite values *to* custom Python types, we use *converters*. -Let's go back to the :class:`Point` class. We stored the x and y coordinates +Let's go back to the :class:`!Point` class. We stored the x and y coordinates separated via semicolons as strings in SQLite. First, we'll define a converter function that accepts the string as a parameter -and constructs a :class:`Point` object from it. +and constructs a :class:`!Point` object from it. .. note::