flake8 pointed out some unused imports.
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py: Don't import 'os'.
* python/libstdcxx/v6/__init__.py: Don't import 'gdb'.
(cherry picked from commit
bed1f8498a1ba0c5ffdb09fd9bd0c080d9bdfe8c)
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import gdb
-
# Load the xmethods if GDB supports them.
def gdb_has_xmethods():
try:
import itertools
import re
import sys
-import os
import errno
import datetime