Fixed repr for Decimal wrapper.

This commit is contained in:
Daniele Varrazzo 2010-11-08 23:20:45 +00:00
parent 916c172cf7
commit af3681cc1c

View File

@ -180,7 +180,7 @@ pdecimal_del(PyObject* self)
static PyObject * static PyObject *
pdecimal_repr(pdecimalObject *self) pdecimal_repr(pdecimalObject *self)
{ {
return PyString_FromFormat("<psycopg2._psycopg.Float object at %p>", return PyString_FromFormat("<psycopg2._psycopg.Decimal object at %p>",
self); self);
} }