Файловый менеджер - Редактировать - /usr/lib/rads/venv/lib/python3.13/site-packages/dns/__pycache__/inet.cpython-313.pyc
Ðазад
� ��i� � � � S r SSKrSSKJrJrJr SSKrSSKr\R r \R r S\S\S\ 4S jrS\S\ S\4S jrS\S\4S jrS\S\4S jrS\S\4S jr SS \\\4 S\\ S\4S jjrS rS\S\4S jrg)z*Generic Internet address helper functions.� N)�Any�Optional�Tuple�family�text�returnc � � U [ :X a [ R R U5 $ U [ :X a [ R R US5 $ [ e)a Convert the textual form of a network address into its binary form. *family* is an ``int``, the address family. *text* is a ``str``, the textual address. Raises ``NotImplementedError`` if the address family specified is not implemented. Returns a ``bytes``. T)�AF_INET�dns�ipv4� inet_aton�AF_INET6�ipv6�NotImplementedError)r r s �;/usr/lib/rads/venv/lib/python3.13/site-packages/dns/inet.py� inet_ptonr ! sF � � ����x�x�!�!�$�'�'� �8� ��x�x�!�!�$��-�-�!�!� �addressc � � U [ :X a [ R R U5 $ U [ :X a [ R R U5 $ [ e)a Convert the binary form of a network address into its textual form. *family* is an ``int``, the address family. *address* is a ``bytes``, the network address in binary form. Raises ``NotImplementedError`` if the address family specified is not implemented. Returns a ``str``. )r r r � inet_ntoar r r )r r s r � inet_ntopr 6 sD � � ����x�x�!�!�'�*�*� �8� ��x�x�!�!�'�*�*�!�!r c �� � [ R R U 5 [ $ ! [ a>