Skip to content

Commit 2855133

Browse files
ev-brbetatim
andauthored
BUG: fix a typo in __release_buffer__ signature
Co-authored-by: Tim Head <[email protected]>
1 parent 41606bb commit 2855133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_strict/_array_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def __buffer__(self, flags):
168168
if self._device != CPU_DEVICE:
169169
raise RuntimeError(f"Can not convert array on the '{self._device}' device to a Numpy array.")
170170
return memoryview(self._array)
171-
def __release_buffer(self, buffer):
171+
def __release_buffer__(self, buffer):
172172
# XXX anything to do here?
173173
pass
174174

0 commit comments

Comments
 (0)