summaryrefslogtreecommitdiff
path: root/sphinx/builders/devhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-13 01:33:14 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-15 02:42:42 +0900
commit53917f228f9bfbb4607b6441119baeb129869b93 (patch)
tree4e87e2e8a2fc209f74a3675dc0f079bda78b6a3b /sphinx/builders/devhelp.py
parentf8a2e7aa8af27b9d90330d9d795ef20fe0158001 (diff)
downloadsphinx-git-53917f228f9bfbb4607b6441119baeb129869b93.tar.gz
Move to py3 mode for mypy (and remove many "type: ignore" comments)
Diffstat (limited to 'sphinx/builders/devhelp.py')
-rw-r--r--sphinx/builders/devhelp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/devhelp.py b/sphinx/builders/devhelp.py
index 1bf2f2a56..901fb5560 100644
--- a/sphinx/builders/devhelp.py
+++ b/sphinx/builders/devhelp.py
@@ -136,7 +136,7 @@ class DevhelpBuilder(StandaloneHTMLBuilder):
# Dump the XML file
xmlfile = path.join(outdir, outname + '.devhelp.gz')
- with gzip.open(xmlfile, 'w') as f: # type: ignore
+ with gzip.open(xmlfile, 'w') as f:
tree.write(f, 'utf-8')