gh-101524: Fix the ChannelID tp_name (gh-102655)

https://github.com/python/cpython/issues/101524
This commit is contained in:
Eric Snow 2023-03-13 15:50:16 -06:00 committed by GitHub
parent d97757f793
commit 74885a08db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ static PyType_Slot ChannelIDType_slots[] = {
};
static PyType_Spec ChannelIDType_spec = {
.name = "_xxsubinterpreters.ChannelID",
.name = MODULE_NAME ".ChannelID",
.basicsize = sizeof(channelid),
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
Py_TPFLAGS_DISALLOW_INSTANTIATION | Py_TPFLAGS_IMMUTABLETYPE),