From a4b7a48f71a059c7410ee3e97aa682361cf22799 Mon Sep 17 00:00:00 2001
From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Date: Thu, 16 Jul 2020 04:17:38 +0200
Subject: 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
---
 gnuradio-runtime/python/pmt/pmt_to_python.py | 1 -
 1 file changed, 1 deletion(-)

(limited to 'gnuradio-runtime/python/pmt/pmt_to_python.py')

diff --git a/gnuradio-runtime/python/pmt/pmt_to_python.py b/gnuradio-runtime/python/pmt/pmt_to_python.py
index 425d68b6d1..b2777c7c4c 100644
--- a/gnuradio-runtime/python/pmt/pmt_to_python.py
+++ b/gnuradio-runtime/python/pmt/pmt_to_python.py
@@ -5,7 +5,6 @@
 # SPDX-License-Identifier: GPL-3.0-or-later
 #
 
-from __future__ import unicode_literals
 
 from . import pmt_python as pmt
 import numpy
-- 
cgit v1.2.3