Skip to content

Commit 6bc34d1

Browse files
committed
frombuffer: Add type declarations to stubs
1 parent fe3e19c commit 6bc34d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/ulab_create.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(create_zeros_obj, 0, create_zeros);
632632
#endif
633633

634634
#if ULAB_CREATE_HAS_FROMBUFFER
635-
//| def frombuffer(buffer, dtype=ulab.float, count=-1, offset=0) ->ulab.array:
635+
//| def frombuffer(buffer: ReadableBuffer, dtype: _DType = ulab.float, count: int = -1, offset: int = 0) ->ulab.array:
636636
//| """
637637
//| .. param: buffer
638638
//| bufferlike object

0 commit comments

Comments
 (0)