diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-24 20:14:43 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-24 23:19:51 +0900 |
commit | 3c99d0060557bb33a482f3fe74c1b665fb3de010 (patch) | |
tree | 756aecf0bcb307e553f3903ee5bd9ff9b32d44f1 /sphinx/util/osutil.py | |
parent | 95dffb2af6fbdefe30f1b492adedc4036abd6f84 (diff) | |
download | sphinx-git-3c99d0060557bb33a482f3fe74c1b665fb3de010.tar.gz |
Add sphinx.util.typing:unicode to help mypy-3 migration
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r-- | sphinx/util/osutil.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py index 198076664..f2e2b60d5 100644 --- a/sphinx/util/osutil.py +++ b/sphinx/util/osutil.py @@ -29,6 +29,7 @@ from sphinx.deprecation import RemovedInSphinx30Warning, RemovedInSphinx40Warnin if False: # For type annotation from typing import Any, Iterator, List, Tuple, Union # NOQA + from sphinx.util.typing import unicode # NOQA # Errnos that we need. EEXIST = getattr(errno, 'EEXIST', 0) |