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.
This commit is contained in:
Peter Eisentraut 2018-09-10 18:46:08 +02:00 committed by Benjamin Peterson
parent d545869d08
commit 0e0bc4e221
15 changed files with 21 additions and 21 deletions

View file

@ -398,7 +398,7 @@ py_blake2s_dealloc(PyObject *self)
PyTypeObject PyBlake2_BLAKE2sType = {
PyVarObject_HEAD_INIT(NULL, 0)
"_blake2.blake2s", /* tp_name */
sizeof(BLAKE2sObject), /* tp_size */
sizeof(BLAKE2sObject), /* tp_basicsize */
0, /* tp_itemsize */
py_blake2s_dealloc, /* tp_dealloc */
0, /* tp_print */