Files
MLPproject/.venv/lib/python3.12/site-packages/bleach/six_shim.py
2025-10-23 15:44:32 +02:00

20 lines
305 B
Python

"""
Replacement module for what html5lib uses six for.
"""
import http.client
import operator
import urllib
PY3 = True
binary_type = bytes
string_types = (str,)
text_type = str
unichr = chr
viewkeys = operator.methodcaller("keys")
http_client = http.client
urllib = urllib
urllib_parse = urllib.parse