We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 244f233 commit 8611d91Copy full SHA for 8611d91
psycopg/lobject_type.c
@@ -197,7 +197,7 @@ psyco_lobj_seek(lobjectObject *self, PyObject *args)
197
if ((pos = lobject_seek(self, offset, whence)) < 0)
198
return NULL;
199
200
- return PyLong_FromSsize_t(pos);
+ return PyInt_FromSsize_t(pos);
201
}
202
203
/* tell method - tell current position in the lobject */
@@ -217,7 +217,7 @@ psyco_lobj_tell(lobjectObject *self, PyObject *args)
217
if ((pos = lobject_tell(self)) < 0)
218
219
220
221
222
223
/* unlink method - unlink (destroy) the lobject */
0 commit comments