U aðfýã@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-53d1vnqk/lib/python/oscrypto/_errors.pyrs ) Ú__doc__Ú __future__rrrrr r Ú__all__rrrrrÚs ÿ