Skip to content

Commit e6ff4b9

Browse files
committed
Make helpers static
1 parent 058e0db commit e6ff4b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Objects/moduleobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ _PyModule_CreateInitialized(PyModuleDef* module, int module_api_version)
362362
return (PyObject*)m;
363363
}
364364

365-
PyObject *
365+
static PyObject *
366366
module_from_def_and_spec(
367367
PyModuleDef* def_like, /* not necessarily a valid Python object */
368368
PyObject *spec,

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5767,7 +5767,7 @@ PyType_GetModuleState(PyTypeObject *type)
57675767
/* Return borrowed ref to the module of the first superclass where the module
57685768
* has the given token.
57695769
*/
5770-
PyObject *
5770+
static PyObject *
57715771
borrow_module_by_token(PyTypeObject *type, const void *token)
57725772
{
57735773
assert(PyType_Check(type));

0 commit comments

Comments
 (0)