diff options
author | Victor Stinner <vstinner@python.org> | 2020-07-10 12:40:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 12:40:38 +0200 |
commit | 8182cc2e68a3c6ea5d5342fed3f1c76b0521fbc1 (patch) | |
tree | 697757da0c635614b16aafc81c3ea1172a634a53 /Tools/scripts/combinerefs.py | |
parent | d878349bac6c154fbfeffe7d4b38e2ddb833f135 (diff) | |
download | cpython-8182cc2e68a3c6ea5d5342fed3f1c76b0521fbc1.tar.gz cpython-8182cc2e68a3c6ea5d5342fed3f1c76b0521fbc1.zip |
bpo-39573: Use the Py_TYPE() macro (GH-21433)
Replace obj->ob_type with Py_TYPE(obj).
Diffstat (limited to 'Tools/scripts/combinerefs.py')
-rwxr-xr-x | Tools/scripts/combinerefs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/combinerefs.py b/Tools/scripts/combinerefs.py index 49ccca73909..848bae5658c 100755 --- a/Tools/scripts/combinerefs.py +++ b/Tools/scripts/combinerefs.py @@ -33,7 +33,7 @@ or if the refcount changed. -typename is object->ob_type->tp_name, extracted from the second PYTHONDUMPREFS +typename is Py_TYPE(object)->tp_name, extracted from the second PYTHONDUMPREFS output block. repr is repr(object), extracted from the first PYTHONDUMPREFS output block. |