]> crepu.dev Git - config.git/blob - djavu-asus/emacs/elpy/rpc-venv/lib/python3.11/site-packages/zipp/py310compat.py
d5ca53e037b267ff1b196b3b208dea0acdebe4c5
[config.git] / djavu-asus / emacs / elpy / rpc-venv / lib / python3.11 / site-packages / zipp / py310compat.py
1 import sys
2 import io
3
4
5 def _text_encoding(encoding, stacklevel=2, /): # pragma: no cover
6 return encoding
7
8
9 text_encoding = (
10 io.text_encoding if sys.version_info > (3, 10) else _text_encoding # type: ignore
11 )