1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-06 08:01:06 +02:00
yt-dlp/yt_dlp/compat/re.py

15 lines
210 B
Python
Raw Normal View History

# flake8: noqa: F405
from re import * # F403
try:
Pattern # >= 3.7
except NameError:
Pattern = type(compile(''))
try:
Match # >= 3.7
except NameError:
Match = type(compile('').match(''))