From 3e16c584cd87ee7358b1ef5b23028881299a275e Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 1 Aug 2025 16:22:28 -0700 Subject: [PATCH] [lldb] Remove unused PythonObject::Dump (NFC) PythonObject::Dump isn't called and uses `_PyObject_Dump`, which isn't part of the stable API. --- .../Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 6a5dd43096363..b73e2a97da3c3 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -250,13 +250,6 @@ class PythonObject { void Reset(); - void Dump() const { - if (m_py_obj) - _PyObject_Dump(m_py_obj); - else - puts("NULL"); - } - void Dump(Stream &strm) const; PyObject *get() const { return m_py_obj; }