Skip to content

Commit bf108bb

Browse files
author
Erlend Egeberg Aasland
authored
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
1 parent 897387d commit bf108bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_queuemodule.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ simplequeue_get_state(PyObject *module)
1515
return state;
1616
}
1717
static struct PyModuleDef queuemodule;
18-
#define simplequeue_get_state_by_type(tp) \
18+
#define simplequeue_get_state_by_type(type) \
1919
(simplequeue_get_state(_PyType_GetModuleByDef(type, &queuemodule)))
2020

2121
typedef struct {

0 commit comments

Comments
 (0)