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:
Erlend Egeberg Aasland 2020-12-28 18:47:16 +01:00 committed by GitHub
parent 897387d2c8
commit bf108bb21e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {