Commit 9b47cf41 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Cleanup

parent ded64d16
...@@ -1060,7 +1060,7 @@ class FuncDefNode(StatNode, BlockNode): ...@@ -1060,7 +1060,7 @@ class FuncDefNode(StatNode, BlockNode):
self.assmt.generate_execution_code(code) self.assmt.generate_execution_code(code)
# #
# Special code for the __getbuffer__ call # Special code for the __getbuffer__ function
# #
def getbuffer_init(self, code): def getbuffer_init(self, code):
info = self.local_scope.arg_entries[1].cname info = self.local_scope.arg_entries[1].cname
......
...@@ -950,9 +950,6 @@ cdef class MockBuffer: ...@@ -950,9 +950,6 @@ cdef class MockBuffer:
if self.fail: if self.fail:
raise ValueError("Failing on purpose") raise ValueError("Failing on purpose")
if buffer == NULL:
return
self.recieved_flags = [] self.recieved_flags = []
cdef int value cdef int value
for name, value in available_flags: for name, value in available_flags:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment