From: Dag Sverre Seljebotn Date: Mon, 25 Aug 2008 14:14:23 +0000 (+0200) Subject: Cleanup X-Git-Tag: 0.9.9.2.beta~63^2~31^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b47cf41e39edf5c6733282a18ffcd103adf9834;p=cython.git Cleanup --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index ce0cb38a..c0ce04c8 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -1060,7 +1060,7 @@ class FuncDefNode(StatNode, BlockNode): self.assmt.generate_execution_code(code) # - # Special code for the __getbuffer__ call + # Special code for the __getbuffer__ function # def getbuffer_init(self, code): info = self.local_scope.arg_entries[1].cname diff --git a/tests/run/bufaccess.pyx b/tests/run/bufaccess.pyx index 4bfb8186..d781a3b1 100644 --- a/tests/run/bufaccess.pyx +++ b/tests/run/bufaccess.pyx @@ -950,9 +950,6 @@ cdef class MockBuffer: if self.fail: raise ValueError("Failing on purpose") - if buffer == NULL: - return - self.recieved_flags = [] cdef int value for name, value in available_flags: