diff options
author | Kerem HallaƧ <hallackerem@gmail.com> | 2020-04-25 22:16:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 22:16:42 +0300 |
commit | 8f12bfb00776ca35b6e445843d665a7d195d7f95 (patch) | |
tree | 8d85f38a7e0cb396e06fc09912e3798917346192 | |
parent | ddf0191ea43d763c784dcb5f7ab937d8ef1ae0b0 (diff) | |
download | numpy-8f12bfb00776ca35b6e445843d665a7d195d7f95.tar.gz |
Update numpy/lib/index_tricks.py
Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
-rw-r--r-- | numpy/lib/index_tricks.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index 538b32ea2..d145477c3 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -369,7 +369,9 @@ class AxisConcatenator: trans1d = int(vec[2]) continue except Exception as e: - raise ValueError("unknown special directive {!r}".format(item)) from e + raise ValueError( + "unknown special directive {!r}".format(item) + ) from e try: axis = int(item) continue |