mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Update vendored windows libs
This commit is contained in:
parent
f61c211655
commit
b1cefa94e5
226 changed files with 33472 additions and 11882 deletions
12
libs/win/zipp/py310compat.py
Normal file
12
libs/win/zipp/py310compat.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
import sys
|
||||
import io
|
||||
|
||||
|
||||
te_impl = 'lambda encoding, stacklevel=2, /: encoding'
|
||||
te_impl_37 = te_impl.replace(', /', '')
|
||||
_text_encoding = eval(te_impl) if sys.version_info > (3, 8) else eval(te_impl_37)
|
||||
|
||||
|
||||
text_encoding = (
|
||||
io.text_encoding if sys.version_info > (3, 10) else _text_encoding # type: ignore
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue