From 61e008a4ab0b444342f9186efb57207d6fb05092 Mon Sep 17 00:00:00 2001 From: Will Hawkins <8715530+hawkinsw@users.noreply.github.com> Date: Sun, 29 May 2022 13:18:52 -0400 Subject: gh-93244: Document Py_PRINT_RAW in PyObject_Print() comment (93245) --- Include/abstract.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Include/abstract.h b/Include/abstract.h index 9e06fbb..197b20e 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -14,9 +14,9 @@ extern "C" { Print an object 'o' on file 'fp'. Returns -1 on error. The flags argument is used to enable certain printing options. The only option currently - supported is Py_Print_RAW. - - (What should be said about Py_Print_RAW?). */ + supported is Py_PRINT_RAW. By default (flags=0), PyObject_Print() formats + the object by calling PyObject_Repr(). If flags equals to Py_PRINT_RAW, it + formats the object by calling PyObject_Str(). */ /* Implemented elsewhere: -- cgit v0.12