%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/dns/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/dns/__pycache__/grange.cpython-312.pyc

�

5��ed��8�dZddlmZddlZdedeeeeffd�Zy)zDNS GENERATE range conversion.�)�TupleN�text�returnc�>�d}d}d}d}d}|r'|ddk(rtjjd��|D]h}|dk(r|dk(rt|�}d}d}�|dk(rt|�}d}d}�2|j	�r||z
}�Htjjd	|z��|dk(rtjjd
��|dk(rt|�}n|dk(sJ�t|�}|dk\sJ�|dk\sJ�||kDrtjjd��|||fS)z�Convert the text form of a range in a ``$GENERATE`` statement to an
    integer.

    *text*, a ``str``, the textual range in ``$GENERATE`` form.

    Returns a tuple of three ``int`` values ``(start, stop, step)``.
    �����r�-z!Start cannot be a negative number�/�zCould not parse %szno stop value specifiedzstart must be <= stop)�dns�	exception�SyntaxError�int�isdigit)r�start�stop�step�cur�state�cs       �,/usr/lib/python3/dist-packages/dns/grange.py�	from_textrs@��
�E�
�D��D�
�C�
�E���Q��3���m�m�'�'�(K�L�L�
�H����8���
���H�E��C��E�
�#�X��s�8�D��C��E�
�Y�Y�[��1�H�C��-�-�+�+�,@�A�,F�G�G�H�
��z��m�m�'�'�(A�B�B�	�!���3�x����z��z��3�x���1�9��9��A�:��:��t�|��m�m�'�'�(?�@�@��4����)�__doc__�typingrr
�strrr�rr�<module>rs.��$%��
�/�C�/�E�#�s�C�-�0�/r

Zerion Mini Shell 1.0