summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2022-04-15 13:29:57 (GMT)
committerGitHub <noreply@github.com>2022-04-15 13:29:57 (GMT)
commitb7f83bdd0e16f82288dc3557b7e715bb5c7d96d0 (patch)
tree16a451b593d21ee1a8550f944f6d585748a9cb42 /Modules
parent6217864fe5f6855f59d608733ce83fd4466e1b8c (diff)
downloadcpython-b7f83bdd0e16f82288dc3557b7e715bb5c7d96d0.zip
cpython-b7f83bdd0e16f82288dc3557b7e715bb5c7d96d0.tar.gz
cpython-b7f83bdd0e16f82288dc3557b7e715bb5c7d96d0.tar.bz2
gh-69093: Expose sqlite3.Blob as a class (GH-91550)
I noticed this was missing while writing typeshed stubs. It's useful to expose it for use in annotations and for exploration.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_sqlite/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c
index d355c2b..fbc57c7 100644
--- a/Modules/_sqlite/module.c
+++ b/Modules/_sqlite/module.c
@@ -697,6 +697,7 @@ module_exec(PyObject *module)
}
pysqlite_state *state = pysqlite_get_state(module);
+ ADD_TYPE(module, state->BlobType);
ADD_TYPE(module, state->ConnectionType);
ADD_TYPE(module, state->CursorType);
ADD_TYPE(module, state->PrepareProtocolType);