summaryrefslogtreecommitdiff
path: root/psycopg/adapter_datetime.c
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-02-01 02:27:45 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-02-01 02:27:45 +0000
commitd40b394c507fb3db49f659c57741cdfe09bb9d39 (patch)
tree66c618ecabe5a57604451bfd0791543583cd1251 /psycopg/adapter_datetime.c
parentbde443a90293c5f18b72b100a21940b102ca784b (diff)
parent9433a6879f9e012090d48a9bb3145c3b8e6ae25a (diff)
downloadpsycopg2-d40b394c507fb3db49f659c57741cdfe09bb9d39.tar.gz
Merge branch 'python2' into python3
Diffstat (limited to 'psycopg/adapter_datetime.c')
-rw-r--r--psycopg/adapter_datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_datetime.c b/psycopg/adapter_datetime.c
index c1a976e..5850be8 100644
--- a/psycopg/adapter_datetime.c
+++ b/psycopg/adapter_datetime.c
@@ -401,7 +401,7 @@ psyco_Timestamp(PyObject *self, PyObject *args)
int hour=0, minute=0; /* default to midnight */
double second=0.0;
- if (!PyArg_ParseTuple(args, "lii|iidO", &year, &month, &day,
+ if (!PyArg_ParseTuple(args, "iii|iidO", &year, &month, &day,
&hour, &minute, &second, &tzinfo))
return NULL;