summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-10-20 13:33:44 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-10-20 13:33:44 +0900
commit0b719faabb640bf620d62d947b51166715d2477e (patch)
tree299d7d8365e83c4cd9c41a6db678eca0474947b9 /sphinx/util/pycompat.py
parentd000de6e9950de32f8a1c872232513d8196c0530 (diff)
downloadsphinx-git-0b719faabb640bf620d62d947b51166715d2477e.tar.gz
Fix mypy violations (for mypy-0.740)
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index 06d3bcc2c..18c44ad18 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -55,7 +55,7 @@ class UnicodeMixin:
def __str__(self):
warnings.warn('UnicodeMixin is deprecated',
RemovedInSphinx40Warning, stacklevel=2)
- return self.__unicode__()
+ return self.__unicode__() # type: ignore
def execfile_(filepath: str, _globals: Any, open: Callable = open) -> None: