/usr/share/cagefs-skeleton/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/requests
import sys # This code exists for backwards compatibility reasons. # I don't like it either. Just look the other way. :) for package in ('urllib3', 'idna', 'chardet'): vendored_package = "pip._vendor." + package locals()[package] = __import__(vendored_package) # This traversal is apparently necessary such that the identities are # preserved (requests.packages.urllib3.* is urllib3.*) for mod in list(sys.modules): if mod == vendored_package or mod.startswith(vendored_package + '.'): unprefixed_mod = mod[len("pip._vendor."):] sys.modules['pip._vendor.requests.packages.' + unprefixed_mod] = sys.modules[mod] # Kinda cool, though, right?
.
Edit
..
Edit
__init__.py
Edit
__pycache__
Edit
__version__.py
Edit
_internal_utils.py
Edit
adapters.py
Edit
api.py
Edit
auth.py
Edit
certs.py
Edit
compat.py
Edit
cookies.py
Edit
exceptions.py
Edit
help.py
Edit
hooks.py
Edit
models.py
Edit
packages.py
Edit
sessions.py
Edit
status_codes.py
Edit
structures.py
Edit
utils.py
Edit