Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-24 14:14:43 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-11-24 17:19:51 +0300
commit3c99d0060557bb33a482f3fe74c1b665fb3de010 (patch)
tree756aecf0bcb307e553f3903ee5bd9ff9b32d44f1 /sphinx/util/png.py
parent95dffb2af6fbdefe30f1b492adedc4036abd6f84 (diff)
Add sphinx.util.typing:unicode to help mypy-3 migration
Diffstat (limited to 'sphinx/util/png.py')
-rw-r--r--sphinx/util/png.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/util/png.py b/sphinx/util/png.py
index 88530d979..6d1d5ea21 100644
--- a/sphinx/util/png.py
+++ b/sphinx/util/png.py
@@ -12,6 +12,10 @@
import binascii
import struct
+if False:
+ # For type annotation
+ from sphinx.util.typing import unicode # NOQA
+
LEN_IEND = 12
LEN_DEPTH = 22