mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-13 05:31:43 +08:00
Upgrade to isort 5 (#4323)
This now also reformats imports not at the top of files.
This commit is contained in:
@@ -10,9 +10,9 @@ from typing import Any, AnyStr, Callable, Iterator, List, Optional, Tuple, Union
|
||||
|
||||
# ----- re variables and constants -----
|
||||
if sys.version_info >= (3, 7):
|
||||
from typing import Pattern as Pattern, Match as Match
|
||||
from typing import Match as Match, Pattern as Pattern
|
||||
else:
|
||||
from typing import Pattern, Match
|
||||
from typing import Match, Pattern
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
import enum
|
||||
|
||||
Reference in New Issue
Block a user