mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
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
This commit is contained in:
parent
897387d2c8
commit
bf108bb21e
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ simplequeue_get_state(PyObject *module)
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
static struct PyModuleDef queuemodule;
|
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)))
|
(simplequeue_get_state(_PyType_GetModuleByDef(type, &queuemodule)))
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue