File: //usr/local/lib/python3.10/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-310.pyc
o
��i � @ s d Z ddlmZ ddlZejZed dkZed dkZddlZddlm Z ddl
mZ ddlm
Z
mZmZ dd lmZ dd
lmZ ddlmZ ddlmZmZmZmZmZmZmZmZm Z m!Z! dd
l"m#Z#m$Z$m%Z%m&Z&m'Z' e(Z)e(Z(e*Z*e(e*fZ+e,e-fZ.e,fZ/dS )z�
requests.compat
~~~~~~~~~~~~~~~
This module previously handled import compatibility issues
between Python 2 and Python 3. It remains for backwards
compatibility until the next major version.
� )�chardetN� � )�JSONDecodeError)�OrderedDict)�Callable�Mapping�MutableMapping)� cookiejar)�Morsel)�StringIO)
�quote�
quote_plus�unquote�unquote_plus� urldefrag� urlencode�urljoin�urlparse�urlsplit�
urlunparse)�
getproxies�getproxies_environment�parse_http_list�proxy_bypass�proxy_bypass_environment)0�__doc__�pip._vendorr �sys�version_info�_ver�is_py2�is_py3�jsonr �collectionsr �collections.abcr r r �httpr
� cookielib�http.cookiesr �ior �urllib.parser
r r r r r r r r r �urllib.requestr r r r r �str�builtin_str�bytes�
basestring�int�float�
numeric_types�
integer_types� r4 r4 �F/usr/local/lib/python3.10/site-packages/pip/_vendor/requests/compat.py�<module> s* 0