aboutsummaryrefslogtreecommitdiffstats
path: root/gr-wavelet
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2020-07-16 04:17:38 +0200
committerMartin Braun <martin@gnuradio.org>2020-08-03 11:40:27 +0200
commita4b7a48f71a059c7410ee3e97aa682361cf22799 (patch)
tree9530900b05516aae06b6483781a5ebb818f322a0 /gr-wavelet
parentuhd: Update possible master_clock_rate:s (diff)
downloadgnuradio-a4b7a48f71a059c7410ee3e97aa682361cf22799.tar.xz
gnuradio-a4b7a48f71a059c7410ee3e97aa682361cf22799.zip
python: Remove unnecessary 'from __future__ import'
All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
Diffstat (limited to 'gr-wavelet')
-rw-r--r--gr-wavelet/python/wavelet/__init__.py1
-rw-r--r--gr-wavelet/python/wavelet/qa_classify.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/gr-wavelet/python/wavelet/__init__.py b/gr-wavelet/python/wavelet/__init__.py
index b4eecf24d..bc3b3db63 100644
--- a/gr-wavelet/python/wavelet/__init__.py
+++ b/gr-wavelet/python/wavelet/__init__.py
@@ -10,7 +10,6 @@
'''
Processing blocks for wavelet transforms.
'''
-from __future__ import unicode_literals
import os
try:
diff --git a/gr-wavelet/python/wavelet/qa_classify.py b/gr-wavelet/python/wavelet/qa_classify.py
index 3b72edd33..dece26b6a 100644
--- a/gr-wavelet/python/wavelet/qa_classify.py
+++ b/gr-wavelet/python/wavelet/qa_classify.py
@@ -8,7 +8,6 @@
#
#
-from __future__ import division
import numpy
from gnuradio import gr, gr_unittest, wavelet, analog, blocks