Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/ldap/__pycache__/compat.cpython-39.opt-1.pyc
Ðазад
a ��^� � @ s d Z ddlZddlZejd dk r�ddlmZmZ ddlmZ ddlmZ ddlm Z ddlmZ dd lmZ dd l mZ dd� Z ed � nHddl mZ eZddlmZmZm Z mZ ddlmZ dd lmZ dd� ZzddlmZ W n* e�y ejejB dfdd�ZY n0 dS )z#Compatibility wrappers for Py2/Py3.� N� )�UserDict�IterableUserDict)�quote)� quote_plus)�unquote)�urlopen)�urlparse)�MutableMappingc C s | � d�} t| �}|�d�S )z0Specialized unquote that uses UTF-8 for parsing.�asciizutf-8)�encode�urllib_unquote�decode)ZuriZunquoted� r �/ldap/compat.pyr s r aR def reraise(exc_type, exc_value, exc_traceback): """Re-raise an exception given information from sys.exc_info() Note that unlike six.reraise, this does not support replacing the traceback. All arguments must come from a single sys.exc_info() call. """ raise exc_type, exc_value, exc_traceback )r )r r r r c C s |�dS )z�Re-raise an exception given information from sys.exc_info() Note that unlike six.reraise, this does not support replacing the traceback. All arguments must come from a single sys.exc_info() call. Nr )�exc_type� exc_value� exc_tracebackr r r �reraise'