From 1cbe93347b28bd134191ce73aee6bb6cd4b739de Mon Sep 17 00:00:00 2001 From: Sean Harrington Date: Fri, 29 Jul 2016 12:48:34 -0400 Subject: [PATCH] Updaed format_specifier in PyArg_ParseTupleAndKeywords --- psycopg/cursor_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psycopg/cursor_type.c b/psycopg/cursor_type.c index cc9157a2..ec38472e 100644 --- a/psycopg/cursor_type.c +++ b/psycopg/cursor_type.c @@ -1361,7 +1361,7 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs) PyObject *file, *columns = NULL, *res = NULL; if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "O&s|ssnO", kwlist, + "O&s|ssnOss", kwlist, _psyco_curs_has_read_check, &file, &table_name, &sep, &null, &bufsize, &columns, "e, &format)) {