summaryrefslogtreecommitdiff
path: root/sphinx/util/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/console.py')
-rw-r--r--sphinx/util/console.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/util/console.py b/sphinx/util/console.py
index d62169adf..f32360c63 100644
--- a/sphinx/util/console.py
+++ b/sphinx/util/console.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
"""
sphinx.util.console
~~~~~~~~~~~~~~~~~~~
@@ -88,7 +87,7 @@ def coloron():
def colorize(name, text, input_mode=False):
- # type: (str, unicode, bool) -> unicode
+ # type: (str, str, bool) -> str
def escseq(name):
# Wrap escape sequence with ``\1`` and ``\2`` to let readline know
# it is non-printable characters
@@ -112,7 +111,7 @@ def strip_colors(s):
def create_color_func(name):
# type: (str) -> None
def inner(text):
- # type: (unicode) -> unicode
+ # type: (str) -> str
return colorize(name, text)
globals()[name] = inner