diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-12-09 17:21:40 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-12-09 17:21:40 +0100 |
commit | c9dc6784e67c28e56317e40b3d192bc2d2345ce4 (patch) | |
tree | 8339539fecf4950c42bc19f9a3530caab8824f96 /numpy | |
parent | fbdda8f24924ff63b5abf2782e85206dc34405a7 (diff) | |
download | numpy-c9dc6784e67c28e56317e40b3d192bc2d2345ce4.tar.gz |
MAINT: Use `dtype[Any]` instead of `dtype`
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/__init__.pyi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index ff275fff2..1247c7997 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -879,7 +879,7 @@ class dtype(Generic[_DTypeScalar]): @property def fields( self, - ) -> Optional[Mapping[str, Union[Tuple[dtype, int], Tuple[dtype, int, Any]]]]: ... + ) -> Optional[Mapping[str, Union[Tuple[dtype[Any], int], Tuple[dtype[Any], int, Any]]]]: ... @property def flags(self) -> int: ... @property |