mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-43269: Remove redundant extern keywords (GH-24605)
This commit is contained in:
parent
4cf7bb8e22
commit
38b6c2acd4
6 changed files with 12 additions and 6 deletions
|
|
@ -1017,7 +1017,8 @@ static PyType_Spec cursor_spec = {
|
|||
|
||||
PyTypeObject *pysqlite_CursorType = NULL;
|
||||
|
||||
extern int pysqlite_cursor_setup_types(PyObject *module)
|
||||
int
|
||||
pysqlite_cursor_setup_types(PyObject *module)
|
||||
{
|
||||
pysqlite_CursorType = (PyTypeObject *)PyType_FromModuleAndSpec(module, &cursor_spec, NULL);
|
||||
if (pysqlite_CursorType == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue