diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-10-22 14:56:05 +0200 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-10-22 17:45:53 +0200 |
| commit | c1dde64e78ae4cbfcba88727c4d2872f5238999a (patch) | |
| tree | bcab8144145def23256a72b72a70d5207c6f8113 /numpy | |
| parent | 5602b48f72de4f2311d8979cecc1c5d82468a115 (diff) | |
| download | numpy-c1dde64e78ae4cbfcba88727c4d2872f5238999a.tar.gz | |
MAINT: Removed a redundant protocol inheritance
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/__init__.pyi | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index e70075ee6..c8ef60c2d 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -63,8 +63,6 @@ from typing import ( overload, Sequence, Sized, - SupportsAbs, - SupportsBytes, SupportsComplex, SupportsFloat, SupportsInt, @@ -986,9 +984,7 @@ _ArrayLikeIntOrBool = Union[ _ArraySelf = TypeVar("_ArraySelf", bound=_ArrayOrScalarCommon) -class _ArrayOrScalarCommon( - SupportsInt, SupportsFloat, SupportsComplex, SupportsBytes, SupportsAbs[Any] -): +class _ArrayOrScalarCommon: @property def T(self: _ArraySelf) -> _ArraySelf: ... @property |
