diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index aa4a228..00f298a 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -84,6 +84,8 @@ vgetargs1(PyObject *args, char *format, va_list *p_va, int compat) int i, len; char *msg; + assert(compat || (args != (PyObject*)NULL)); + for (;;) { int c = *format++; if (c == '(' /* ')' */) { |