diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2018-09-10 16:46:08 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-09-10 16:46:08 (GMT) |
commit | 0e0bc4e221f592f305d335faf5f8046484eb9238 (patch) | |
tree | edd0715556a68ab5bd9037a2a627bb8a62d9ef6a /Modules/_blake2/blake2b_impl.c | |
parent | d545869d084e70d4838310e79b52a25a72a1ca56 (diff) | |
download | cpython-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/_blake2/blake2b_impl.c')
-rw-r--r-- | Modules/_blake2/blake2b_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_blake2/blake2b_impl.c b/Modules/_blake2/blake2b_impl.c index 7ad4b65..788c15c 100644 --- a/Modules/_blake2/blake2b_impl.c +++ b/Modules/_blake2/blake2b_impl.c @@ -398,7 +398,7 @@ py_blake2b_dealloc(PyObject *self) PyTypeObject PyBlake2_BLAKE2bType = { PyVarObject_HEAD_INIT(NULL, 0) "_blake2.blake2b", /* tp_name */ - sizeof(BLAKE2bObject), /* tp_size */ + sizeof(BLAKE2bObject), /* tp_basicsize */ 0, /* tp_itemsize */ py_blake2b_dealloc, /* tp_dealloc */ 0, /* tp_print */ |