'Make sure we own the reference to this memoryview slice.'

def make_owned_memoryviewslice(self, code):

    if (not self.result_in_temp()):
        code.put_incref_memoryviewslice(self.result(), have_gil=self.in_nogil_context)
