mirror of
https://github.com/python/cpython.git
synced 2026-05-05 10:01:07 +00:00
bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8065)
(cherry picked from commit 831c29721d)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
This commit is contained in:
parent
cee7b2261f
commit
6699386231
1 changed files with 2 additions and 2 deletions
|
|
@ -236,8 +236,8 @@ Module functions and constants
|
|||
Registers a callable to convert a bytestring from the database into a custom
|
||||
Python type. The callable will be invoked for all database values that are of
|
||||
the type *typename*. Confer the parameter *detect_types* of the :func:`connect`
|
||||
function for how the type detection works. Note that the case of *typename* and
|
||||
the name of the type in your query must match!
|
||||
function for how the type detection works. Note that *typename* and the name of
|
||||
the type in your query are matched in case-insensitive manner.
|
||||
|
||||
|
||||
.. function:: register_adapter(type, callable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue