Your IP : 216.73.216.213


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

B

�qV��@s8dZddlmZmZmZmZddlZddlZdd�ZdS)zU
Helper for formatting exception messages. Exports the following items:

 - unwrap()
�)�unicode_literals�division�absolute_import�print_functionNcGs>t�|�}|�d�dkr&t�dd|�}|r2||}|��}|S)a_
    Takes a multi-line string and does the following:

     - dedents
     - converts newlines with text before and after into a single line
     - strips leading and trailing whitespace

    :param string:
        The string to format

    :param *params:
        Params to interpolate into the string

    :return:
        The formatted string
    �
���z(?<=\S)
(?=[^ 
	\d\*\-=])� )�textwrap�dedent�find�re�sub�strip)�string�params�output�r�C/opt/alt/python37/lib/python3.7/site-packages/asn1crypto/_errors.py�unwraps
r)	�__doc__�
__future__rrrrrr	rrrrr�<module>s