summaryrefslogtreecommitdiff
path: root/Modules/_xxsubinterpretersmodule.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2018-09-10 18:46:08 +0200
committerBenjamin Peterson <benjamin@python.org>2018-09-10 09:46:08 -0700
commit0e0bc4e221f592f305d335faf5f8046484eb9238 (patch)
treeedd0715556a68ab5bd9037a2a627bb8a62d9ef6a /Modules/_xxsubinterpretersmodule.c
parentd545869d084e70d4838310e79b52a25a72a1ca56 (diff)
downloadcpython-git-0e0bc4e221f592f305d335faf5f8046484eb9238.tar.gz
Fix misleading mentions of tp_size in comments (GH-9093)
Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize.
Diffstat (limited to 'Modules/_xxsubinterpretersmodule.c')
-rw-r--r--Modules/_xxsubinterpretersmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index 7b2cda2183..2eb8787169 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -1764,7 +1764,7 @@ PyDoc_STRVAR(channelid_doc,
static PyTypeObject ChannelIDtype = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"_xxsubinterpreters.ChannelID", /* tp_name */
- sizeof(channelid), /* tp_size */
+ sizeof(channelid), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)channelid_dealloc, /* tp_dealloc */
0, /* tp_print */
@@ -2173,7 +2173,7 @@ PyDoc_STRVAR(interpid_doc,
static PyTypeObject InterpreterIDtype = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"interpreters.InterpreterID", /* tp_name */
- sizeof(interpid), /* tp_size */
+ sizeof(interpid), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)interpid_dealloc, /* tp_dealloc */
0, /* tp_print */