diff options
author | Will Hawkins <8715530+hawkinsw@users.noreply.github.com> | 2022-05-29 17:18:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 17:18:52 (GMT) |
commit | 61e008a4ab0b444342f9186efb57207d6fb05092 (patch) | |
tree | 243eee8b030f2edf5bf42f60b9e7e5f965013f55 /Include/abstract.h | |
parent | ace6607aa33da42972369ada2c565912e329bf5e (diff) | |
download | cpython-61e008a4ab0b444342f9186efb57207d6fb05092.zip cpython-61e008a4ab0b444342f9186efb57207d6fb05092.tar.gz cpython-61e008a4ab0b444342f9186efb57207d6fb05092.tar.bz2 |
gh-93244: Document Py_PRINT_RAW in PyObject_Print() comment (93245)
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 6 |
1 files 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: |