Commit 292ce153 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by Tal Einat

bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8066)

(cherry picked from commit 831c2972)
Co-authored-by: default avatarSergey Fedoseev <fedoseev.sergey@gmail.com>
parent 53fafafa
...@@ -206,8 +206,8 @@ Module functions and constants ...@@ -206,8 +206,8 @@ Module functions and constants
Registers a callable to convert a bytestring from the database into a custom 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 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` 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 function for how the type detection works. Note that *typename* and the name of
the name of the type in your query must match! the type in your query are matched in case-insensitive manner.
.. function:: register_adapter(type, callable) .. function:: register_adapter(type, callable)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment