bpo-40077: Fix typo in simplequeue_get_state_by_type() (GH-23975)
The typo did no damage, but it looks suspicious and confusing.
Introduced by GH-23136.
Skip news.
Automerge-Triggered-By: GH:pitrou
diff --git a/Modules/_queuemodule.c b/Modules/_queuemodule.c
index a2b6ac8..7a52617 100644
--- a/Modules/_queuemodule.c
+++ b/Modules/_queuemodule.c
@@ -15,7 +15,7 @@ simplequeue_get_state(PyObject *module)
return state;
}
static struct PyModuleDef queuemodule;
-#define simplequeue_get_state_by_type(tp) \
+#define simplequeue_get_state_by_type(type) \
(simplequeue_get_state(_PyType_GetModuleByDef(type, &queuemodule)))
typedef struct {