diff options
author | Federico Di Gregorio <fog@initd.org> | 2005-04-10 03:05:39 +0000 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2005-04-10 03:05:39 +0000 |
commit | 4805a935690b1d618247267318a0ef7aa06c2378 (patch) | |
tree | e063adcbaafe99c8cd0f111c0f8412701623b955 /psycopg/adapter_datetime.c | |
parent | 728b4788de8b70bf809103e944e84c02d8ba608b (diff) | |
download | psycopg2-4805a935690b1d618247267318a0ef7aa06c2378.tar.gz |
mingw patch from Daniele Varazzo.
Diffstat (limited to 'psycopg/adapter_datetime.c')
-rw-r--r-- | psycopg/adapter_datetime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_datetime.c b/psycopg/adapter_datetime.c index 9d40cc5..ffff6f5 100644 --- a/psycopg/adapter_datetime.c +++ b/psycopg/adapter_datetime.c @@ -233,7 +233,7 @@ PyTypeObject pydatetimeType = { 0, /*tp_dictoffset*/ pydatetime_init, /*tp_init*/ - PyType_GenericAlloc, /*tp_alloc*/ + 0, /*tp_alloc will be set to PyType_GenericAlloc in module init*/ pydatetime_new, /*tp_new*/ (freefunc)pydatetime_del, /*tp_free Low-level free-memory routine */ 0, /*tp_is_gc For PyObject_IS_GC */ |