summaryrefslogtreecommitdiff
path: root/sphinx
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx')
-rw-r--r--sphinx/application.py1
-rw-r--r--sphinx/builders/applehelp.py1
-rw-r--r--sphinx/builders/htmlhelp.py1
-rw-r--r--sphinx/cmd/build.py1
-rw-r--r--sphinx/cmd/make_mode.py1
-rw-r--r--sphinx/cmd/quickstart.py1
-rw-r--r--sphinx/cmdline.py1
-rw-r--r--sphinx/events.py1
-rw-r--r--sphinx/ext/apidoc.py2
-rw-r--r--sphinx/ext/autosummary/generate.py1
-rw-r--r--sphinx/ext/intersphinx.py2
-rw-r--r--sphinx/pycode/__init__.py1
-rw-r--r--sphinx/registry.py1
-rw-r--r--sphinx/setup_command.py1
-rw-r--r--sphinx/testing/fixtures.py1
-rw-r--r--sphinx/util/osutil.py1
16 files changed, 0 insertions, 18 deletions
diff --git a/sphinx/application.py b/sphinx/application.py
index 984b2b6af..387536775 100644
--- a/sphinx/application.py
+++ b/sphinx/application.py
@@ -10,7 +10,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import os
import pickle
diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py
index 74f8fcfc6..14f1dbd2b 100644
--- a/sphinx/builders/applehelp.py
+++ b/sphinx/builders/applehelp.py
@@ -8,7 +8,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import pipes
import plistlib
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py
index 55bff842b..72c34b8ba 100644
--- a/sphinx/builders/htmlhelp.py
+++ b/sphinx/builders/htmlhelp.py
@@ -9,7 +9,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import os
from os import path
diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py
index 8b815ef28..be19cd10f 100644
--- a/sphinx/cmd/build.py
+++ b/sphinx/cmd/build.py
@@ -8,7 +8,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import argparse
import locale
diff --git a/sphinx/cmd/make_mode.py b/sphinx/cmd/make_mode.py
index 27c4165ab..dfb45f55d 100644
--- a/sphinx/cmd/make_mode.py
+++ b/sphinx/cmd/make_mode.py
@@ -14,7 +14,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import os
import subprocess
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py
index ace0ecdfc..f313942b9 100644
--- a/sphinx/cmd/quickstart.py
+++ b/sphinx/cmd/quickstart.py
@@ -9,7 +9,6 @@
:license: BSD, see LICENSE for details.
"""
from __future__ import absolute_import
-from __future__ import print_function
import argparse
import locale
diff --git a/sphinx/cmdline.py b/sphinx/cmdline.py
index 252f95bbc..f150006e2 100644
--- a/sphinx/cmdline.py
+++ b/sphinx/cmdline.py
@@ -9,7 +9,6 @@
:license: BSD, see LICENSE for details.
"""
from __future__ import absolute_import
-from __future__ import print_function
import sys
import warnings
diff --git a/sphinx/events.py b/sphinx/events.py
index fca304773..4fc52b552 100644
--- a/sphinx/events.py
+++ b/sphinx/events.py
@@ -10,7 +10,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
from collections import OrderedDict, defaultdict
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py
index 85a41e650..84a08b5d5 100644
--- a/sphinx/ext/apidoc.py
+++ b/sphinx/ext/apidoc.py
@@ -15,8 +15,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import argparse
import glob
import locale
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py
index 04ba43d94..6f19387e1 100644
--- a/sphinx/ext/autosummary/generate.py
+++ b/sphinx/ext/autosummary/generate.py
@@ -17,7 +17,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import argparse
import locale
diff --git a/sphinx/ext/intersphinx.py b/sphinx/ext/intersphinx.py
index 2c7d7bf51..3da488706 100644
--- a/sphinx/ext/intersphinx.py
+++ b/sphinx/ext/intersphinx.py
@@ -24,8 +24,6 @@
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
-
import functools
import posixpath
import sys
diff --git a/sphinx/pycode/__init__.py b/sphinx/pycode/__init__.py
index a1b2d0273..8df43e665 100644
--- a/sphinx/pycode/__init__.py
+++ b/sphinx/pycode/__init__.py
@@ -8,7 +8,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import re
from io import BytesIO, StringIO
diff --git a/sphinx/registry.py b/sphinx/registry.py
index 4ba90d5f7..f155048c4 100644
--- a/sphinx/registry.py
+++ b/sphinx/registry.py
@@ -8,7 +8,6 @@
:copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import traceback
import warnings
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index b8efc13e6..f46553403 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -11,7 +11,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import os
import sys
diff --git a/sphinx/testing/fixtures.py b/sphinx/testing/fixtures.py
index e338fe937..399747826 100644
--- a/sphinx/testing/fixtures.py
+++ b/sphinx/testing/fixtures.py
@@ -8,7 +8,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import os
import subprocess
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py
index 7044cead3..998e423b8 100644
--- a/sphinx/util/osutil.py
+++ b/sphinx/util/osutil.py
@@ -8,7 +8,6 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-from __future__ import print_function
import contextlib
import errno