diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-08 23:20:45 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-09 00:09:19 +0000 |
commit | af3681cc1c6ba203d6a1b811550ba22b348de855 (patch) | |
tree | 7fbca305e118804d46aa6df06ef23e65e6e97504 /psycopg | |
parent | 916c172cf7c23b725167b0e7053cf1c83e2a29be (diff) | |
download | psycopg2-af3681cc1c6ba203d6a1b811550ba22b348de855.tar.gz |
Fixed repr for Decimal wrapper.
Diffstat (limited to 'psycopg')
-rw-r--r-- | psycopg/adapter_pdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_pdecimal.c b/psycopg/adapter_pdecimal.c index 6bcccb5..3112b8f 100644 --- a/psycopg/adapter_pdecimal.c +++ b/psycopg/adapter_pdecimal.c @@ -180,7 +180,7 @@ pdecimal_del(PyObject* self) static PyObject * pdecimal_repr(pdecimalObject *self) { - return PyString_FromFormat("<psycopg2._psycopg.Float object at %p>", + return PyString_FromFormat("<psycopg2._psycopg.Decimal object at %p>", self); } |