mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-94321: Document sqlite3.PrepareProtocol (#94620)
This commit is contained in:
parent
71697664d7
commit
fb6dccae34
3 changed files with 17 additions and 0 deletions
|
@ -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},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue