From 7714476ab74b18636c0b2391c1a6e3384fcfe374 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 14 Apr 2013 18:42:32 +0200 Subject: [PATCH] clean up utility code a bit --- Cython/Utility/MemoryView_C.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Utility/MemoryView_C.c b/Cython/Utility/MemoryView_C.c index 422b1a9..376c5aa 100644 --- a/Cython/Utility/MemoryView_C.c +++ b/Cython/Utility/MemoryView_C.c @@ -221,8 +221,8 @@ static int __pyx_check_suboffsets(Py_buffer *buf, int dim, int ndim, int spec) { - /* Todo: without PyBUF_INDIRECT we may not have suboffset information, i.e., the - ptr may not be set to NULL but may be uninitialized? */ + // Todo: without PyBUF_INDIRECT we may not have suboffset information, i.e., the + // ptr may not be set to NULL but may be uninitialized? if (spec & __Pyx_MEMVIEW_DIRECT) { if (buf->suboffsets && buf->suboffsets[dim] >= 0) { PyErr_Format(PyExc_ValueError, -- 2.7.4