File: //kunden/lib/python3/dist-packages/breezy/__pycache__/cache_utf8.cpython-39.pyc
a
�*�^� � @ s� d Z ddlmZ ddlZejZejZefdd�Zi Z i Z
e e
efdd�Ze e
efdd �Zd
d� Z
dd
� Ze e
fdd�Zdd� ZdS )zGSome functions to enable caching the conversion between unicode to utf8� )�absolute_importNc C s | du rdS || �d S dS )z�wrap _utf8_decode to support None->None for optional strings.
Also, only return the Unicode portion, since we don't care about the second
return value.
Nr � )Z
bytestring�_utf8_decoder r �3/usr/lib/python3/dist-packages/breezy/cache_utf8.py�_utf8_decode_with_None s r c C sB z
|| W S t y< || �d || <