done
This commit is contained in:
13
lib/python3.11/site-packages/zipp/compat/py310.py
Normal file
13
lib/python3.11/site-packages/zipp/compat/py310.py
Normal file
@ -0,0 +1,13 @@
|
||||
import io
|
||||
import sys
|
||||
|
||||
|
||||
def _text_encoding(encoding, stacklevel=2, /): # pragma: no cover
|
||||
return encoding
|
||||
|
||||
|
||||
text_encoding = (
|
||||
io.text_encoding # type: ignore[unused-ignore, attr-defined]
|
||||
if sys.version_info > (3, 10)
|
||||
else _text_encoding
|
||||
)
|
Reference in New Issue
Block a user