mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-03 15:45:46 +03:00
Fixed repr for Decimal wrapper.
This commit is contained in:
parent
916c172cf7
commit
af3681cc1c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user