summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-16 00:32:10 +0900
committerGitHub <noreply@github.com>2018-12-16 00:32:10 +0900
commitc70e65fc6cd04d02df4f7911025f534dbd27cc20 (patch)
tree1e8614ac5516dace99ef1df4d203081662c7c2d6 /sphinx/errors.py
parentd6d4406ce987cc8823d1b3a33be3a418bcd2a59d (diff)
parent79eec90f36f5a74e24cfd6740126396fd6567e07 (diff)
downloadsphinx-git-c70e65fc6cd04d02df4f7911025f534dbd27cc20.tar.gz
Merge branch 'master' into 5770_doctest_refers_highlight_language
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py
index dead3f1c8..df858fa87 100644
--- a/sphinx/errors.py
+++ b/sphinx/errors.py
@@ -13,7 +13,6 @@
if False:
# For type annotation
from typing import Any # NOQA
- from sphinx.util.typing import unicode # NOQA
class SphinxError(Exception):
@@ -54,7 +53,7 @@ class ExtensionError(SphinxError):
category = 'Extension error'
def __init__(self, message, orig_exc=None):
- # type: (unicode, Exception) -> None
+ # type: (str, Exception) -> None
super(ExtensionError, self).__init__(message)
self.message = message
self.orig_exc = orig_exc