Closed
Description
Line 837 in 2d31815
Sequence[T]
allow .index(T)
but is not supported by memoryview:
example, this pass mypy
buf = memoryview(b"\x00\x01\x02\x03")
print(buf.index(1))
Metadata
Metadata
Assignees
Labels
No labels
Line 837 in 2d31815
Sequence[T]
allow .index(T)
but is not supported by memoryview:
example, this pass mypy
buf = memoryview(b"\x00\x01\x02\x03")
print(buf.index(1))