[Python-checkins] bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8067)
Tal Einat
webhook-mailer at python.org
Tue Jul 3 08:37:29 EDT 2018
https://github.com/python/cpython/commit/f55a818954212e8e6c97e3d66cf1478120a3220f
commit: f55a818954212e8e6c97e3d66cf1478120a3220f
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Tal Einat <taleinat+github at gmail.com>
date: 2018-07-03T15:37:26+03:00
summary:
bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8067)
(cherry picked from commit 831c29721dcb1b768c6315a4b8a4059c4c97ee8b)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey at gmail.com>
files:
M Doc/library/sqlite3.rst
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index b9ec24a655b4..c93b2c88d94c 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -229,8 +229,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)
More information about the Python-checkins
mailing list