mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-02 22:54:09 +09:00
Fix e0c4db04dc for pypy
This commit is contained in:
1 file changed
+3
-2
@@ -7,6 +7,7 @@ passthrough_module(__name__, 'types')
|
||||
del passthrough_module
|
||||
|
||||
try:
|
||||
NoneType # >= 3.10
|
||||
except NameError:
|
||||
# NB: pypy has builtin NoneType, so checking NameError won't work
|
||||
from types import NoneType # >= 3.10
|
||||
except ImportError:
|
||||
NoneType = type(None)
|
||||
Reference in new issue
Block a user