Skip to content

Commit 281a9ac

Browse files
JDevliegherekrishna2803
authored andcommitted
[lldb] Remove unused PythonObject::Dump (NFC) (llvm#151783)
PythonObject::Dump isn't called and uses `_PyObject_Dump`, which isn't part of the stable API. Part of llvm#151617.
1 parent 5dc3a55 commit 281a9ac

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,6 @@ class PythonObject {
250250

251251
void Reset();
252252

253-
void Dump() const {
254-
if (m_py_obj)
255-
_PyObject_Dump(m_py_obj);
256-
else
257-
puts("NULL");
258-
}
259-
260253
void Dump(Stream &strm) const;
261254

262255
PyObject *get() const { return m_py_obj; }

0 commit comments

Comments
 (0)