mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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
|
self.x, self.y = x, y
|
||||||
|
|
||||||
Now you want to store the point in a single SQLite column. First you'll have to
|
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
|
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
|
to give your class a method ``__conform__(self, protocol)`` which must return
|
||||||
the converted value. The parameter *protocol* will be :class:`PrepareProtocol`.
|
the converted value. The parameter *protocol* will be :class:`PrepareProtocol`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue