Your IP : 3.141.25.100


Current Path : /opt/alt/python37/lib/python3.7/site-packages/jsonschema/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/jsonschema/__pycache__/compat.cpython-37.opt-1.pyc

B

�pSeI�@sFdZddlZddlZddlZyddlmZmZWn$ek
rTddlmZmZYnXej	ddkZ
e
r�eZddlm
Z
ddlmZddlmZmZmZmZmZddlmZmZefZefZe�d	�Znrdd
l m!Zddlm"Zddl#mZmZmZmZdd
l$mZmZddl%Z%dd�Ze&Zee'fZe�d�Zddl(m
Z
dd�Z)dS)zK
Python 2/3 compatibility helpers.

Note: This module is *not* public API.
�N)�MutableMapping�Sequence�)�	lru_cache)�StringIO)�unquote�urljoin�
urlunsplit�SplitResult�urlsplit)�pathname2url�urlopen�items)�izip)�BytesIO)rr	r
r)rrcOst�tj||��S)N)�
contextlib�closing�urllib2r
)�args�kwargs�r�B/opt/alt/python37/lib/python3.7/site-packages/jsonschema/compat.pyr
#sr
�	iteritemscCs>d|kr.t|�\}}}}}t||||df�}n|}d}||fS)N�#�)rr	)Zurl�s�n�p�qZfragZdefragrrr�	urldefrag-sr)*�__doc__r�operator�sys�collections.abcrr�ImportError�collections�version_infoZPY3�zip�	functoolsr�iorZNativeIOZurllib.parserrr	r
rZurllib.requestrr
�strZ	str_types�intZ	int_types�methodcallerr�	itertoolsrrZurlparseZurllibrZ
basestringZlongZfunctools32rrrrr�<module>s8


?>