diff options
author | Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | 2022-07-07 22:33:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 22:33:17 (GMT) |
commit | fb6dccae348b954d9f625031b54711a9a33da525 (patch) | |
tree | 8a953d31c6919041a05261a38941353c33b4e5a0 /Modules/_sqlite | |
parent | 71697664d71e09dcf34aac41f6c100350efc3726 (diff) | |
download | cpython-fb6dccae348b954d9f625031b54711a9a33da525.zip cpython-fb6dccae348b954d9f625031b54711a9a33da525.tar.gz cpython-fb6dccae348b954d9f625031b54711a9a33da525.tar.bz2 |
gh-94321: Document sqlite3.PrepareProtocol (#94620)
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r-- | Modules/_sqlite/prepare_protocol.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_sqlite/prepare_protocol.c b/Modules/_sqlite/prepare_protocol.c index cefb46e..4453322 100644 --- a/Modules/_sqlite/prepare_protocol.c +++ b/Modules/_sqlite/prepare_protocol.c @@ -46,10 +46,13 @@ pysqlite_prepare_protocol_dealloc(pysqlite_PrepareProtocol *self) Py_DECREF(tp); } +PyDoc_STRVAR(doc, "PEP 246 style object adaption protocol type."); + static PyType_Slot type_slots[] = { {Py_tp_dealloc, pysqlite_prepare_protocol_dealloc}, {Py_tp_init, pysqlite_prepare_protocol_init}, {Py_tp_traverse, pysqlite_prepare_protocol_traverse}, + {Py_tp_doc, (void *)doc}, {0, NULL}, }; |