summaryrefslogtreecommitdiff
path: root/sphinx/util/console.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-02-08 14:31:59 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-02-08 18:38:42 +0900
commit6fa0262802a09050e09445c9fd630c69b5ad1204 (patch)
treea2ad8f7849540d1b027e0b99d9913394b23c58d8 /sphinx/util/console.py
parent81eb101e9f8fcee1c439ee0dd501d135eced01c6 (diff)
downloadsphinx-git-6fa0262802a09050e09445c9fd630c69b5ad1204.tar.gz
Fix mypy violations
Diffstat (limited to 'sphinx/util/console.py')
-rw-r--r--sphinx/util/console.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/console.py b/sphinx/util/console.py
index b418edfb8..ac3d2282f 100644
--- a/sphinx/util/console.py
+++ b/sphinx/util/console.py
@@ -95,6 +95,7 @@ def strip_colors(s):
def create_color_func(name):
# type: (str) -> None
def inner(text):
+ # type: (unicode) -> unicode
return colorize(name, text)
globals()[name] = inner