Skip to content

Commit 6cbc778

Browse files
committed
Update header files.
Oops.
1 parent 292832a commit 6cbc778

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Include/cpython/object.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ PyAPI_FUNC(PyObject *) PyType_GetDict(PyTypeObject *);
295295

296296
PyAPI_FUNC(int) PyObject_Print(PyObject *, FILE *, int);
297297
PyAPI_FUNC(void) _Py_BreakPoint(void);
298-
PyAPI_FUNC(void) PyUnstable_Object_Dump(PyObject *);
298+
PyAPI_FUNC(void) PyObject_Dump(PyObject *);
299299

300300
// Alias for backward compatibility
301-
#define _PyObject_Dump PyUnstable_Object_Dump
301+
#define _PyObject_Dump PyObject_Dump
302302

303303
Py_DEPRECATED(3.15) PyAPI_FUNC(PyObject*) _PyObject_GetAttrId(PyObject *, _Py_Identifier *);
304304

@@ -391,7 +391,7 @@ PyAPI_FUNC(PyObject *) _PyObject_FunctionStr(PyObject *);
391391
but compile away to nothing if NDEBUG is defined.
392392
393393
However, before aborting, Python will also try to call
394-
PyUnstable_Object_Dump() on the given object. This may be of use when
394+
PyObject_Dump() on the given object. This may be of use when
395395
investigating bugs in which a particular object is corrupt (e.g. buggy a
396396
tp_visit method in an extension module breaking the garbage collector), to
397397
help locate the broken objects.

Include/internal/pycore_global_objects_fini_generated.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)