mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
@@ -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