Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /proc/self/root/usr/lib/python3.9/site-packages/dns/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python3.9/site-packages/dns/__pycache__/grange.cpython-39.opt-1.pyc
a

�M�ed�@s6dZddlmZddlZeeeeefd�dd�ZdS)zDNS GENERATE range conversion.�)�TupleN)�text�returncCs�d}d}d}d}d}|r0|ddkr0tj�d��|D]b}|dkrZ|dkrZt|�}d}d}q4|dkrtt|�}d}d}q4|��r�||7}q4tj�d	|��q4|dkr�tj�d
��n|dkr�t|�}nt|�}||kr�tj�d��|||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�stepZcur�state�c�r�./usr/lib/python3.9/site-packages/dns/grange.py�	from_texts6	

r)�__doc__�typingrr�strrrrrrr�<module>s

Yohohohohohooho | Sanrei Aya