diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-01-03 15:57:43 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 15:57:43 -0600 |
commit | b7c27bd2a3817f59c84b004b87bba5db57d9a9b0 (patch) | |
tree | d1667015baca8a46ef286862368cc641a7cfe980 /numpy/doc | |
parent | e1aecb08f99321b72959cc50eb7b47454b613f52 (diff) | |
parent | ed1e9659f103260a32536b4a7615393e3b1173dc (diff) | |
download | numpy-b7c27bd2a3817f59c84b004b87bba5db57d9a9b0.tar.gz |
Merge pull request #14376 from jdufresne/future
MAINT: Remove unnecessary 'from __future__ import ...' statements
Diffstat (limited to 'numpy/doc')
-rw-r--r-- | numpy/doc/__init__.py | 2 | ||||
-rw-r--r-- | numpy/doc/basics.py | 1 | ||||
-rw-r--r-- | numpy/doc/broadcasting.py | 1 | ||||
-rw-r--r-- | numpy/doc/byteswapping.py | 1 | ||||
-rw-r--r-- | numpy/doc/constants.py | 2 | ||||
-rw-r--r-- | numpy/doc/creation.py | 1 | ||||
-rw-r--r-- | numpy/doc/glossary.py | 1 | ||||
-rw-r--r-- | numpy/doc/indexing.py | 1 | ||||
-rw-r--r-- | numpy/doc/internals.py | 1 | ||||
-rw-r--r-- | numpy/doc/misc.py | 1 | ||||
-rw-r--r-- | numpy/doc/structured_arrays.py | 1 | ||||
-rw-r--r-- | numpy/doc/subclassing.py | 1 | ||||
-rw-r--r-- | numpy/doc/ufuncs.py | 1 |
13 files changed, 0 insertions, 15 deletions
diff --git a/numpy/doc/__init__.py b/numpy/doc/__init__.py index b6f1fa71c..8a944fecd 100644 --- a/numpy/doc/__init__.py +++ b/numpy/doc/__init__.py @@ -1,5 +1,3 @@ -from __future__ import division, absolute_import, print_function - import os ref_dir = os.path.join(os.path.dirname(__file__)) diff --git a/numpy/doc/basics.py b/numpy/doc/basics.py index c05f347a1..635c1b1b8 100644 --- a/numpy/doc/basics.py +++ b/numpy/doc/basics.py @@ -339,4 +339,3 @@ be useful to test your code with the value ``1 + np.finfo(np.longdouble).eps``. """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/broadcasting.py b/numpy/doc/broadcasting.py index cb548a0d0..63975e6a9 100644 --- a/numpy/doc/broadcasting.py +++ b/numpy/doc/broadcasting.py @@ -178,4 +178,3 @@ making it a two-dimensional ``4x1`` array. Combining the ``4x1`` array with ``b``, which has shape ``(3,)``, yields a ``4x3`` array. """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/byteswapping.py b/numpy/doc/byteswapping.py index 7a749c8d5..fe9461977 100644 --- a/numpy/doc/byteswapping.py +++ b/numpy/doc/byteswapping.py @@ -153,4 +153,3 @@ can be achieved with the ndarray astype method: False """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/constants.py b/numpy/doc/constants.py index 72793e44d..96813b66c 100644 --- a/numpy/doc/constants.py +++ b/numpy/doc/constants.py @@ -13,8 +13,6 @@ NumPy includes several constants: # # Note: the docstring is autogenerated. # -from __future__ import division, absolute_import, print_function - import textwrap, re # Maintain same format as in numpy.add_newdocs diff --git a/numpy/doc/creation.py b/numpy/doc/creation.py index 9ebe938be..067f8bb33 100644 --- a/numpy/doc/creation.py +++ b/numpy/doc/creation.py @@ -141,4 +141,3 @@ random values, and some utility functions to generate special matrices (e.g. diagonal). """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/glossary.py b/numpy/doc/glossary.py index 7d1c9a1d5..2431516a8 100644 --- a/numpy/doc/glossary.py +++ b/numpy/doc/glossary.py @@ -473,4 +473,3 @@ Glossary and f2py (which wraps Fortran). """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/indexing.py b/numpy/doc/indexing.py index 676015668..aa84e2b11 100644 --- a/numpy/doc/indexing.py +++ b/numpy/doc/indexing.py @@ -446,4 +446,3 @@ converted to an array as a list would be. As an example: :: 40 """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/internals.py b/numpy/doc/internals.py index a14fee7c2..6718f1108 100644 --- a/numpy/doc/internals.py +++ b/numpy/doc/internals.py @@ -160,4 +160,3 @@ when accessing elements of an array. Granted, it goes against the grain, but it is more in line with Python semantics and the natural order of the data. """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/misc.py b/numpy/doc/misc.py index a76abe164..fc1c4cd01 100644 --- a/numpy/doc/misc.py +++ b/numpy/doc/misc.py @@ -224,4 +224,3 @@ Interfacing to C++: 5) SIP (used mainly in PyQT) """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py index 1343d2adc..72990cf89 100644 --- a/numpy/doc/structured_arrays.py +++ b/numpy/doc/structured_arrays.py @@ -644,4 +644,3 @@ attribute takes precedence. Such fields will be inaccessible by attribute but will still be accessible by index. """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py index d0685328e..7ef426f5b 100644 --- a/numpy/doc/subclassing.py +++ b/numpy/doc/subclassing.py @@ -750,4 +750,3 @@ This object is now compatible with ``np.sum`` again because any extraneous argum ``**unused_kwargs`` parameter. """ -from __future__ import division, absolute_import, print_function diff --git a/numpy/doc/ufuncs.py b/numpy/doc/ufuncs.py index df2c455ec..eecc15083 100644 --- a/numpy/doc/ufuncs.py +++ b/numpy/doc/ufuncs.py @@ -135,4 +135,3 @@ results in an error. There are two alternatives: a convenient way to apply these operators. """ -from __future__ import division, absolute_import, print_function |