HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/opt/nydus/ops/asn1crypto/__pycache__/_errors.cpython-39.pyc
a

�,�h.�@sHdZddlmZmZmZmZddlZddlZGdd�de�Z	dd�Z
dS)z=
Exports the following items:

 - unwrap()
 - APIException()
�)�unicode_literals�division�absolute_import�print_functionNc@seZdZdZdS)�APIExceptionzI
    An exception indicating an API has been removed from asn1crypto
    N)�__name__�
__module__�__qualname__�__doc__�rr�C/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/asn1crypto/_errors.pyrsrcGs>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�outputrrr�unwraps
r)r
�
__future__rrrrrr�	Exceptionrrrrrr�<module>s