Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
pip._vendor.requests.compat Namespace Reference

Variables

 _ver = sys.version_info
 
int is_py2 = 2
 
int is_py3 = 3
 
 builtin_str = str
 
 str = str
 
 bytes = bytes
 
tuple basestring = (str, bytes)
 
tuple numeric_types = (int, float)
 
tuple integer_types = (int,)
 

Detailed Description

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.

Variable Documentation

◆ _ver

_ver = sys.version_info
protected

Definition at line 19 of file compat.py.

◆ basestring

tuple basestring = (str, bytes)

Definition at line 65 of file compat.py.

◆ builtin_str

builtin_str = str

Definition at line 62 of file compat.py.

◆ bytes

bytes = bytes

Definition at line 64 of file compat.py.

◆ integer_types

tuple integer_types = (int,)

Definition at line 67 of file compat.py.

◆ is_py2

int is_py2 = 2

Definition at line 22 of file compat.py.

◆ is_py3

int is_py3 = 3

Definition at line 25 of file compat.py.

◆ numeric_types

tuple numeric_types = (int, float)

Definition at line 66 of file compat.py.

◆ str

str = str

Definition at line 63 of file compat.py.