Your IP : 13.59.36.36


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.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	)�url�s�n�p�q�frag�defragrrr�	urldefrag-sr")*�__doc__r�operator�sys�collections.abcrr�ImportError�collections�version_info�PY3�zip�	functoolsr�iorZNativeIO�urllib.parserrr	r
rZurllib.requestrr
�strZ	str_types�intZ	int_types�methodcallerr�	itertoolsrr�urlparse�urllibr�
basestring�longZfunctools32r"rrrr�<module>s8


?>