diff options
author | Petr Viktorin <encukou@gmail.com> | 2022-02-11 17:22:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 17:22:11 +0100 |
commit | 204946986feee7bc80b233350377d24d20fcb1b8 (patch) | |
tree | e66ab16090f97845e0f95f981c720954e244d102 /Modules/_sqlite/module.h | |
parent | e0bcfd0e4db193743d4bafc48d10f15ae9ed7b2b (diff) | |
download | cpython-204946986feee7bc80b233350377d24d20fcb1b8.tar.gz cpython-204946986feee7bc80b233350377d24d20fcb1b8.zip |
bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081)
* Make PyType_GetModuleByDef public (remove underscore)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Modules/_sqlite/module.h')
-rw-r--r-- | Modules/_sqlite/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/module.h b/Modules/_sqlite/module.h index 1d319f1ed55..a248d044af8 100644 --- a/Modules/_sqlite/module.h +++ b/Modules/_sqlite/module.h @@ -74,7 +74,7 @@ extern struct PyModuleDef _sqlite3module; static inline pysqlite_state * pysqlite_get_state_by_type(PyTypeObject *tp) { - PyObject *module = _PyType_GetModuleByDef(tp, &_sqlite3module); + PyObject *module = PyType_GetModuleByDef(tp, &_sqlite3module); assert(module != NULL); return pysqlite_get_state(module); } |