gh-93244: Document Py_PRINT_RAW in PyObject_Print() comment (93245)

This commit is contained in:
Will Hawkins 2022-05-29 13:18:52 -04:00 committed by GitHub
parent ace6607aa3
commit 61e008a4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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: