From bf108bb21e1d75e30bd17141cc531dd08a5e5d0c Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Mon, 28 Dec 2020 18:47:16 +0100 Subject: [PATCH] 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 --- Modules/_queuemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_queuemodule.c b/Modules/_queuemodule.c index a2b6ac87a72..7a52617ade5 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 {