%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ipv4.pyc

�
�ac@sDdZddlZddlZddlmZd�Zd�ZdS(sIPv4 helper functions.i����Ni(tbinary_typecCsct|�dkr!tjj�nt|t�s?t|�}nd|d|d|d|dfS(s�Convert an IPv4 address in binary form to text form.

    *address*, a ``binary``, the IPv4 address in binary form.

    Returns a ``text``.
    is%u.%u.%u.%uiiii(tlentdnst	exceptiontSyntaxErrort
isinstancet	bytearray(taddress((s=/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ipv4.pyt	inet_ntoascCs�t|t�s|j�}n|jd�}t|�dkrNtjj�nxZ|D]R}|j�svtjj�nt|�dkrU|ddkrUtjj�qUqUWy3g|D]}t	|�^q�}t
jd|�SWntjj�nXdS(s�Convert an IPv4 address in text form to binary form.

    *text*, a ``text``, the IPv4 address in textual form.

    Returns a ``binary``.
    t.iiit0tBBBBN(RRtencodetsplitRRRRtisdigittinttstructtpack(ttexttpartstparttbytes((s=/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ipv4.pyt	inet_aton(s
"(t__doc__Rt
dns.exceptionRt_compatRRR(((s=/opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ipv4.pyt<module>s
	

Zerion Mini Shell 1.0