]>
jfr.im git - dlqueue.git/blob - venv/lib/python3.11/site-packages/pip/_vendor/chardet/resultdict.py
1 from typing
import TYPE_CHECKING
, Optional
4 # TypedDict was introduced in Python 3.8.
6 # TODO: Remove the else block and TYPE_CHECKING check when dropping support
8 from typing
import TypedDict
10 class ResultDict(TypedDict
):
11 encoding
: Optional
[str]
13 language
: Optional
[str]