summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2020-12-28 17:47:16 (GMT)
committerGitHub <noreply@github.com>2020-12-28 17:47:16 (GMT)
commitbf108bb21e1d75e30bd17141cc531dd08a5e5d0c (patch)
tree4ed45a6d816833ca22a2be52e853f48db2b76e69
parent897387d2c8a956e74770c6bdd0447dfec61e8e27 (diff)
downloadcpython-bf108bb21e1d75e30bd17141cc531dd08a5e5d0c.zip
cpython-bf108bb21e1d75e30bd17141cc531dd08a5e5d0c.tar.gz
cpython-bf108bb21e1d75e30bd17141cc531dd08a5e5d0c.tar.bz2
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
-rw-r--r--Modules/_queuemodule.c2
1 files changed, 1 insertions, 1 deletions
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 {