Skip to content

Commit 01c3322

Browse files
authored
add Py_ALWAYS_INLINE
1 parent ce4b9c8 commit 01c3322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5176,7 +5176,7 @@ PyType_GetModuleState(PyTypeObject *type)
51765176
/* Get the module of the first superclass where the module has the
51775177
* given PyModuleDef.
51785178
*/
5179-
static inline PyObject *
5179+
static inline Py_ALWAYS_INLINE PyObject *
51805180
get_module_by_def(PyTypeObject *type, PyModuleDef *def)
51815181
{
51825182
assert(PyType_Check(type));

0 commit comments

Comments
 (0)