mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix typo in sqlite3 documentation (GH-19965)
*first* is repeated twice.
This commit is contained in:
parent
999ec9ab6a
commit
441416c9a0
1 changed files with 1 additions and 1 deletions
|
@ -928,7 +928,7 @@ a class like this::
|
|||
self.x, self.y = x, y
|
||||
|
||||
Now you want to store the point in a single SQLite column. First you'll have to
|
||||
choose one of the supported types first to be used for representing the point.
|
||||
choose one of the supported types to be used for representing the point.
|
||||
Let's just use str and separate the coordinates using a semicolon. Then you need
|
||||
to give your class a method ``__conform__(self, protocol)`` which must return
|
||||
the converted value. The parameter *protocol* will be :class:`PrepareProtocol`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue