mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
memoryview: remove inheritance from Sequence (#12781)
It doesn't have `index`, `count` or `__reversed__` methods
This commit is contained in:
@@ -834,7 +834,7 @@ _IntegerFormats: TypeAlias = Literal[
|
||||
]
|
||||
|
||||
@final
|
||||
class memoryview(Sequence[_I]):
|
||||
class memoryview(Generic[_I]):
|
||||
@property
|
||||
def format(self) -> str: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user