mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
1 parent
27db37240a
commit
6348a58b8b
78 files changed
+142
-90
No files matched your search
@@ -7,7 +7,7 @@ from typing import Any
|
||||
if sys.version_info >= (3, 8):
|
||||
from re import Pattern
|
||||
else:
|
||||
from typing import Pattern
|
||||
from re import Pattern
|
||||
|
||||
entry_point_pattern: Pattern[str]
|
||||
file_in_zip_pattern: Pattern[str]
|
||||
|
||||
Reference in new issue
Block a user