1
0
Fork 0

[compat] Split into sub-modules (#2173)

Authored by: fstirlitz, pukkandan
This commit is contained in:
felix 2022-02-04 14:37:02 +01:00 committed by pukkandan
commit 77f9033095
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
11 changed files with 274 additions and 318 deletions

14
yt_dlp/compat/re.py Normal file
View file

@ -0,0 +1,14 @@
# 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(''))