Skip to content

Commit 85b53a0

Browse files
author
Erlend E. Aasland
committed
bpo-40077: Fix typo in simplequeue_get_state_by_type()
The typo did no damage, but it looks suspicious and confusing. Introduced by pythonGH-23136.
1 parent 897387d commit 85b53a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_queuemodule.c

Lines changed: 1 addition & 1 deletion
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)