diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-14 21:14:11 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-15 17:57:43 +0300 |
commit | 6bc357140dbb074eb0d590c1226009f83f97862e (patch) | |
tree | a7c8d2087ee1f50dadb5ca78343ac10c6959b740 /sphinx/errors.py | |
parent | 0031c9b4822ae9684888ae90bc70d6ceb3313581 (diff) |
Replace all "unicode" type by "str"
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r-- | sphinx/errors.py | 3 |
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 |