3 œäL]Çã@s8dZddlmZmZmZmZddlZddlZdd„ZdS)zU Helper for formatting exception messages. Exports the following items: - unwrap() é)Úunicode_literalsÚdivisionÚabsolute_importÚprint_functionNcGs>tj|ƒ}|jdƒdkr&tjdd|ƒ}|r2||}|jƒ}|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ú:/tmp/pip-install-wfra5znf/asn1crypto/asn1crypto/_errors.pyÚunwraps r) Ú__doc__Ú __future__rrrrr r rrrrrÚs