diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-07-31 14:38:12 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-29 20:27:09 +0200 |
commit | 2dd186f43ea6fd9d5d609a1bc753f62790fbd27f (patch) | |
tree | 00a19aaac885694b1cfdade8b013306b4b955fc0 | |
parent | 1f315c7e7f2498c1e4864194fdf7f62b1af557b0 (diff) | |
download | numpy-2dd186f43ea6fd9d5d609a1bc753f62790fbd27f.tar.gz |
MAINT: Changed the `new_order` parameter to positional-only
-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 cee6b59b3..8d65c23c4 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -104,7 +104,7 @@ class dtype: def ndim(self) -> int: ... @property def subdtype(self) -> Optional[Tuple[dtype, _Shape]]: ... - def newbyteorder(self, new_order: _ByteOrder = ...) -> dtype: ... + def newbyteorder(self, __new_order: _ByteOrder = ...) -> dtype: ... # Leave str and type for end to avoid having to use `builtins.str` # everywhere. See https://github.com/python/mypy/issues/3775 @property |