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: //proc/self/root/var/opt/nydus/ops/oscrypto/__pycache__/_errors.cpython-39.pyc
a

�,�h��@s>dZddlmZmZmZmZddlZddlZdgZdd�Z	dS)z]
Helper for formatting exception messages. Exports the following items:

 - pretty_message()
�)�unicode_literals�division�absolute_import�print_functionN�pretty_messagecGs>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�A/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/oscrypto/_errors.pyrs
)
�__doc__�
__future__rrrrr
r
�__all__rrrrr�<module>s�