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:
		
							
								
								
									
										14
									
								
								yt_dlp/compat/re.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								yt_dlp/compat/re.py
									
									
									
									
									
										Normal 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('')) | ||||
		Reference in New Issue
	
	Block a user
	 felix
					felix