summaryrefslogtreecommitdiffstats
path: root/Include/sysmodule.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-08-16 17:36:42 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-08-16 17:36:42 (GMT)
commit79766636b6fbc7e01af160008df9cd31112716d6 (patch)
tree3a14e0774a6549426c477b6af2cd2a5fbb723248 /Include/sysmodule.h
parent982c018b3292e368e3fd808e36d91023296c5255 (diff)
downloadcpython-79766636b6fbc7e01af160008df9cd31112716d6.zip
cpython-79766636b6fbc7e01af160008df9cd31112716d6.tar.gz
cpython-79766636b6fbc7e01af160008df9cd31112716d6.tar.bz2
Issue #9599: Create PySys_FormatStdout() and PySys_FormatStderr()
Write a message formatted by PyUnicode_FromFormatV() to sys.stdout and sys.stderr.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r--Include/sysmodule.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h
index 786d46a..e43f378 100644
--- a/Include/sysmodule.h
+++ b/Include/sysmodule.h
@@ -14,9 +14,11 @@ PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int);
PyAPI_FUNC(void) PySys_SetPath(const wchar_t *);
PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
- Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
+ Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
- Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
+ Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
+PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...);
+PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...);
PyAPI_DATA(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;