8000 Fix varargs indicator for PyBytesWriter_Format (#153) · python/pythoncapi-compat@22811c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22811c3

Browse files
authored
Fix varargs indicator for PyBytesWriter_Format (#153)
1 parent 97f1582 commit 22811c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythoncapi_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ PyBytesWriter_WriteBytes(PyBytesWriter *writer,
25312531

25322532
static inline int
25332533
PyBytesWriter_Format(PyBytesWriter *writer, const char *format, ...)
2534-
Py_GCC_ATTRIBUTE((format(printf, 2, 0)));
2534+
Py_GCC_ATTRIBUTE((format(printf, 2, 3)));
25352535

25362536
static inline int
25372537
PyBytesWriter_Format(PyBytesWriter *writer, const char *format, ...)

0 commit comments

Comments
 (0)
0