summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-26 14:26:11 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-26 14:26:11 +0900
commit99c9f60373c9c3b318f721c6263f13110854b87b (patch)
tree937c0a3d7c95349ed7da7bb547bd94fa4a3ba669 /sphinx/util/pycompat.py
parentd65ea860aa542e167881a0ebcb90950d6072bc25 (diff)
parentac52486274ebf49f4dac1eb8dd0eb5327752313d (diff)
downloadsphinx-git-99c9f60373c9c3b318f721c6263f13110854b87b.tar.gz
Merge branch 'stable'
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index c9474af9b..0f7980e82 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -80,7 +80,7 @@ else:
# error handler
sys_encoding = __import__('locale').getpreferredencoding()
# use Python 3 name
- from cgi import escape as htmlescape # noqa: 2.6, 2.7
+ from cgi import escape as htmlescape # noqa: F401
class UnicodeMixin(object):
"""Mixin class to handle defining the proper __str__/__unicode__