From a04379210bafa463e66f58c8906786bd442801c8 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 22 Dec 2012 00:51:47 +0100 Subject: [PATCH] Doubt about 'c' buffer solved by Stefan Krah --- psycopg/typecast_binary.c | 1 - 1 file changed, 1 deletion(-) diff --git a/psycopg/typecast_binary.c b/psycopg/typecast_binary.c index 322d1495..d63c7025 100644 --- a/psycopg/typecast_binary.c +++ b/psycopg/typecast_binary.c @@ -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;