summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmarnath1904 <51597733+Amarnath1904@users.noreply.github.com>2021-01-24 15:48:18 +0530
committerGitHub <noreply@github.com>2021-01-24 11:18:18 +0100
commitd3653bc6be7a655c2322b2d95f6209626e438171 (patch)
tree89c745adeff24e72f85e852e9e015f22561365ff
parent38ca158ad2c8d07bec2d844686eb993e1ba03f38 (diff)
downloadnumpy-d3653bc6be7a655c2322b2d95f6209626e438171.tar.gz
STY: unify imports in __init__.py (#18187)
minor style cleanup
-rw-r--r--numpy/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index a242bb7df..7dadb6491 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -109,8 +109,9 @@ Exceptions to this rule are documented.
import sys
import warnings
-from ._globals import ModuleDeprecationWarning, VisibleDeprecationWarning
-from ._globals import _NoValue
+from ._globals import (
+ ModuleDeprecationWarning, VisibleDeprecationWarning, _NoValue
+)
# We first need to detect if we're being called as part of the numpy setup
# procedure itself in a reliable manner.
@@ -397,4 +398,3 @@ else:
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
-