X7ROOT File Manager
Current Path:
/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/chardet
opt
/
alt
/
python312
/
lib
/
python3.12
/
site-packages
/
pip
/
_vendor
/
chardet
/
??
..
??
__init__.py
(4.68 KB)
??
__pycache__
??
big5freq.py
(30.54 KB)
??
big5prober.py
(1.72 KB)
??
chardistribution.py
(9.8 KB)
??
charsetgroupprober.py
(3.82 KB)
??
charsetprober.py
(5.29 KB)
??
cli
??
codingstatemachine.py
(3.64 KB)
??
codingstatemachinedict.py
(542 B)
??
cp949prober.py
(1.82 KB)
??
enums.py
(1.64 KB)
??
escprober.py
(3.91 KB)
??
escsm.py
(11.89 KB)
??
eucjpprober.py
(3.84 KB)
??
euckrfreq.py
(13.25 KB)
??
euckrprober.py
(1.71 KB)
??
euctwfreq.py
(36.05 KB)
??
euctwprober.py
(1.71 KB)
??
gb2312freq.py
(20.25 KB)
??
gb2312prober.py
(1.72 KB)
??
hebrewprober.py
(14.2 KB)
??
jisfreq.py
(25.19 KB)
??
johabfreq.py
(41.5 KB)
??
johabprober.py
(1.71 KB)
??
jpcntx.py
(26.42 KB)
??
langbulgarianmodel.py
(102.11 KB)
??
langgreekmodel.py
(96.18 KB)
??
langhebrewmodel.py
(95.89 KB)
??
langhungarianmodel.py
(98.99 KB)
??
langrussianmodel.py
(125.03 KB)
??
langthaimodel.py
(100.37 KB)
??
langturkishmodel.py
(93.14 KB)
??
latin1prober.py
(5.25 KB)
??
macromanprober.py
(5.93 KB)
??
mbcharsetprober.py
(3.63 KB)
??
mbcsgroupprober.py
(2.08 KB)
??
mbcssm.py
(29.68 KB)
??
metadata
??
py.typed
(0 B)
??
resultdict.py
(402 B)
??
sbcharsetprober.py
(6.25 KB)
??
sbcsgroupprober.py
(4.04 KB)
??
sjisprober.py
(3.91 KB)
??
universaldetector.py
(14.5 KB)
??
utf1632prober.py
(8.31 KB)
??
utf8prober.py
(2.75 KB)
??
version.py
(244 B)
Editing: codingstatemachinedict.py
from typing import TYPE_CHECKING, Tuple if TYPE_CHECKING: # TypedDict was introduced in Python 3.8. # # TODO: Remove the else block and TYPE_CHECKING check when dropping support # for Python 3.7. from typing import TypedDict class CodingStateMachineDict(TypedDict, total=False): class_table: Tuple[int, ...] class_factor: int state_table: Tuple[int, ...] char_len_table: Tuple[int, ...] name: str language: str # Optional key else: CodingStateMachineDict = dict
Upload File
Create Folder