a
àMÒeŠ ã @ sº d Z ddlmZmZmZ ddlZddlZddlZej
d¡Zefeeej j
ej j
dœdd„Zedfej j
eej j
eed œd
d„Zdeeeej j
ef eejj ejjdœd
d„ZdS )zDNS E.164 helpers.é )ÚIterableÚOptionalÚUnionNz
e164.arpa.)ÚtextÚoriginÚreturnc C s, dd„ | D ƒ}| ¡ tjjd |¡|d�S )aÐ Convert an E.164 number in textual form into a Name object whose
value is the ENUM domain name for that number.
Non-digits in the text are ignored, i.e. "16505551212",
"+1.650.555.1212" and "1 (650) 555-1212" are all the same.
*text*, a ``str``, is an E.164 number in textual form.
*origin*, a ``dns.name.Name``, the domain in which the number
should be constructed. The default is ``e164.arpa.``.
Returns a ``dns.name.Name``.
c S s g | ]}| ¡ r|‘qS © )Úisdigit©Ú.0Údr r ú,/usr/lib/python3.9/site-packages/dns/e164.pyÚ