diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-09-10 10:50:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 10:50:15 -0700 |
commit | ed62e645101fdd83aee519f6f33a4384ff79f105 (patch) | |
tree | 2feb03416ac04ccc4e47f1bb962d044b6613f560 /Modules/md5module.c | |
parent | f51a46631f8dcca596c08a934a766da9afe93c06 (diff) | |
download | cpython-git-ed62e645101fdd83aee519f6f33a4384ff79f105.tar.gz |
[2.7] Fix misleading mentions of tp_size in comments (GH-9138)
Many type object initializations labeled a field "tp_size" in the
comment, but the name of that field is tp_basicsize..
(cherry picked from commit 0e0bc4e221f592f305d335faf5f8046484eb9238)
Co-authored-by: Peter Eisentraut <peter@eisentraut.org>
Diffstat (limited to 'Modules/md5module.c')
-rw-r--r-- | Modules/md5module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c index 103da1497d..dd90a22c00 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c @@ -236,7 +236,7 @@ copy() -- return a copy of the current md5 object"); static PyTypeObject MD5type = { PyVarObject_HEAD_INIT(NULL, 0) "_md5.md5", /*tp_name*/ - sizeof(md5object), /*tp_size*/ + sizeof(md5object), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor)md5_dealloc, /*tp_dealloc*/ |