From 85b53a034fb3f37b1fb67ca1e12e1ef2ead53cd5 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Mon, 28 Dec 2020 12:15:26 +0100 Subject: [PATCH] bpo-40077: Fix typo in simplequeue_get_state_by_type() The typo did no damage, but it looks suspicious and confusing. Introduced by GH-23136. --- Modules/_queuemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_queuemodule.c b/Modules/_queuemodule.c index a2b6ac87a72ebf..7a52617ade5b09 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 {