diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 00:24:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 00:24:21 +0900 |
commit | 79eec90f36f5a74e24cfd6740126396fd6567e07 (patch) | |
tree | a7c8d2087ee1f50dadb5ca78343ac10c6959b740 /sphinx/util/parallel.py | |
parent | 0031c9b4822ae9684888ae90bc70d6ceb3313581 (diff) | |
parent | 6bc357140dbb074eb0d590c1226009f83f97862e (diff) | |
download | sphinx-git-79eec90f36f5a74e24cfd6740126396fd6567e07.tar.gz |
Merge pull request #5773 from tk0miya/fix_typehints_for_unicode
Replace all "unicode" type by "str"
Diffstat (limited to 'sphinx/util/parallel.py')
-rw-r--r-- | sphinx/util/parallel.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/util/parallel.py b/sphinx/util/parallel.py index 2c670b13c..d847fa163 100644 --- a/sphinx/util/parallel.py +++ b/sphinx/util/parallel.py @@ -26,7 +26,6 @@ from sphinx.util import logging if False: # For type annotation from typing import Any, Callable, Dict, List, Sequence # NOQA - from sphinx.util.typing import unicode # NOQA logger = logging.getLogger(__name__) @@ -136,7 +135,7 @@ class ParallelTasks: def make_chunks(arguments, nproc, maxbatch=10): - # type: (Sequence[unicode], int, int) -> List[Any] + # type: (Sequence[str], int, int) -> List[Any] # determine how many documents to read in one go nargs = len(arguments) chunksize = nargs // nproc |