From 8182cc2e68a3c6ea5d5342fed3f1c76b0521fbc1 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 10 Jul 2020 12:40:38 +0200 Subject: bpo-39573: Use the Py_TYPE() macro (GH-21433) Replace obj->ob_type with Py_TYPE(obj). --- Tools/scripts/combinerefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/scripts/combinerefs.py') 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. -- cgit v1.2.3