diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-23 13:56:01 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-23 13:56:01 +0200 |
commit | de084798dd7cf4646d9b17d5302b0dba93bbbc4b (patch) | |
tree | dd543ab33adc7dffb97020429247a5ab39f1d735 /numpy | |
parent | da6952f507463cf1d4f4e54cecd9e47ed5e854fb (diff) | |
download | numpy-de084798dd7cf4646d9b17d5302b0dba93bbbc4b.tar.gz |
MAINT: Add `void.__getitem__` and `__setitem__`
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/__init__.pyi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index 08050a524..b9909b2f0 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -2963,6 +2963,8 @@ class void(flexible): def setfield( self, val: ArrayLike, dtype: DTypeLike, offset: int = ... ) -> None: ... + def __getitem__(self, key: SupportsIndex) -> Any: ... + def __setitem__(self, key: SupportsIndex, value: ArrayLike) -> None: ... void0 = void |