summaryrefslogtreecommitdiffstats
path: root/Modules/_xxinterpchannelsmodule.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-03-13 21:50:16 (GMT)
committerGitHub <noreply@github.com>2023-03-13 21:50:16 (GMT)
commit74885a08dbc7cc768d15711752957096d6a5a350 (patch)
tree18c5b2638a2e9eb6f5d7300c790f36967020af02 /Modules/_xxinterpchannelsmodule.c
parentd97757f793ea53dda3cc6882b4a92d3e921b17c9 (diff)
downloadcpython-74885a08dbc7cc768d15711752957096d6a5a350.zip
cpython-74885a08dbc7cc768d15711752957096d6a5a350.tar.gz
cpython-74885a08dbc7cc768d15711752957096d6a5a350.tar.bz2
gh-101524: Fix the ChannelID tp_name (gh-102655)
https://github.com/python/cpython/issues/101524
Diffstat (limited to 'Modules/_xxinterpchannelsmodule.c')
-rw-r--r--Modules/_xxinterpchannelsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_xxinterpchannelsmodule.c b/Modules/_xxinterpchannelsmodule.c
index a0cd4a2..fead12c 100644
--- a/Modules/_xxinterpchannelsmodule.c
+++ b/Modules/_xxinterpchannelsmodule.c
@@ -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),