mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violation
This commit is contained in:
parent
e655794b8e
commit
3ba24fb6b8
@ -20,6 +20,8 @@ from sphinx.util import logging
|
||||
if False:
|
||||
# For type annotation
|
||||
from typing import Callable, Dict, IO, Iterator, Tuple # NOQA
|
||||
from sphinx.builders import Builder # NOQA
|
||||
from sphinx.environment import BuildEnvironment # NOQA
|
||||
|
||||
if PY3:
|
||||
unicode = str
|
||||
|
Loading…
Reference in New Issue
Block a user