mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
AsIs str fix by Matt Goodall.
This commit is contained in:
parent
131b8ac1c5
commit
22ce01eec7
|
@ -40,7 +40,7 @@ asis_str(asisObject *self)
|
||||||
return PyString_FromString("NULL");
|
return PyString_FromString("NULL");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return PyObject_Repr(self->wrapped);
|
return PyObject_Str(self->wrapped);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user