summaryrefslogtreecommitdiffstats
path: root/Modules/_abc.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2018-09-10 16:46:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2018-09-10 16:46:08 (GMT)
commit0e0bc4e221f592f305d335faf5f8046484eb9238 (patch)
treeedd0715556a68ab5bd9037a2a627bb8a62d9ef6a /Modules/_abc.c
parentd545869d084e70d4838310e79b52a25a72a1ca56 (diff)
downloadcpython-0e0bc4e221f592f305d335faf5f8046484eb9238.zip
cpython-0e0bc4e221f592f305d335faf5f8046484eb9238.tar.gz
cpython-0e0bc4e221f592f305d335faf5f8046484eb9238.tar.bz2
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/_abc.c')
-rw-r--r--Modules/_abc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_abc.c b/Modules/_abc.c
index ce9140f..9de199f 100644
--- a/Modules/_abc.c
+++ b/Modules/_abc.c
@@ -68,7 +68,7 @@ PyDoc_STRVAR(abc_data_doc,
static PyTypeObject _abc_data_type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"_abc_data", /*tp_name*/
- sizeof(_abc_data), /*tp_size*/
+ sizeof(_abc_data), /*tp_basicsize*/
.tp_dealloc = (destructor)abc_data_dealloc,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_alloc = PyType_GenericAlloc,