mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refactor: Remove meaningless type annotations
This commit is contained in:
@@ -47,8 +47,8 @@ if TYPE_CHECKING:
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Generally useful regular expressions.
|
# Generally useful regular expressions.
|
||||||
ws_re = re.compile(r'\s+') # type: Pattern
|
ws_re = re.compile(r'\s+')
|
||||||
url_re = re.compile(r'(?P<schema>.+)://.*') # type: Pattern
|
url_re = re.compile(r'(?P<schema>.+)://.*')
|
||||||
|
|
||||||
|
|
||||||
# High-level utility functions.
|
# High-level utility functions.
|
||||||
|
|||||||
Reference in New Issue
Block a user