From c168f011113dde1358c10a89c0ac6baf07de6e40 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 7 Oct 2016 21:46:48 +1100 Subject: [PATCH] Removed imports used only by comments --- PIL/Image.py | 2 -- Tests/test_format_hsv.py | 1 - docs/conf.py | 3 --- 3 files changed, 6 deletions(-) diff --git a/PIL/Image.py b/PIL/Image.py index dbe916df1..b2e2344ac 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -24,8 +24,6 @@ # See the README file for information on usage and redistribution. # -from __future__ import print_function - from . import VERSION, PILLOW_VERSION, _plugins import logging diff --git a/Tests/test_format_hsv.py b/Tests/test_format_hsv.py index eea29b3f1..b965a854f 100644 --- a/Tests/test_format_hsv.py +++ b/Tests/test_format_hsv.py @@ -1,4 +1,3 @@ -from __future__ import print_function from helper import unittest, PillowTestCase, hopper from PIL import Image diff --git a/docs/conf.py b/docs/conf.py index 11956b03e..f21e2e51a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,9 +12,6 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys -import os - # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here.