mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 17:34:08 +03:00
Doubt about 'c' buffer solved by Stefan Krah
This commit is contained in:
parent
6d9a25e63a
commit
a04379210b
|
@ -93,7 +93,6 @@ int chunk_getbuffer(PyObject *_self, Py_buffer *view, int flags)
|
|||
chunkObject *self = (chunkObject*)_self;
|
||||
rv = PyBuffer_FillInfo(view, _self, self->base, self->len, 1, flags);
|
||||
if (rv == 0) {
|
||||
/* TODO: is this really the way to do it? */
|
||||
view->format = "c";
|
||||
}
|
||||
return rv;
|
||||
|
|
Loading…
Reference in New Issue
Block a user