Skip to content

Commit 4abbc73

Browse files
authored
Remove unused code
1 parent 72991c2 commit 4abbc73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_datetimemodule.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ get_current_module(PyInterpreterState *interp, int *p_reloading)
158158
}
159159

160160
static PyModuleDef datetimemodule;
161-
static int set_current_module(PyInterpreterState *interp, PyObject *mod);
162161

163162
static datetime_state *
164163
_get_current_state(PyObject **p_mod)
@@ -192,7 +191,7 @@ _get_current_state(PyObject **p_mod)
192191
Py_DECREF(spec);
193192

194193
/* The module will be held by heaptypes. Prefer
195-
* it not to be cached in the interp-dict. */
194+
* it not to be stored in the interp-dict. */
196195
if (PyModule_ExecDef(mod, &datetimemodule) < 0) {
197196
return NULL;
198197
}

0 commit comments

Comments
 (0)