1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 14:45:14 +00:00

[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
parent 19a0394044
commit 77f9033095
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(''))