From: Erlend Egeberg Aasland Date: Mon, 28 Dec 2020 17:47:16 +0000 (+0100) Subject: bpo-40077: Fix typo in simplequeue_get_state_by_type() (GH-23975) X-Git-Tag: v3.10.0a4~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf108bb21e1d75e30bd17141cc531dd08a5e5d0c;p=thirdparty%2FPython%2Fcpython.git 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 a2b6ac87a72e..7a52617ade5b 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 {