
                             S r SSKrS rg)zDNS GENERATE range conversion.    Nc                     SnSnSnU (       a(  U S   S:X  a  [         R                  R                  S5      eU  Hr  nUS:X  a  US:X  a  [        U5      nSnSnM   US:X  a  [        U5      nSnSnM7  UR	                  5       (       a  X$-  nMR  [         R                  R                  S	U-  5      e   US
;   a  [         R                  R                  5       eUS:X  a  [        U5      nUS:X  a  [        U5      nUS:  d   eWS:  d   eUW::  d   eXVU4$ )zConvert 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   /   zCould not parse %s)r      )dns	exceptionSyntaxErrorintisdigit)textstepcurstatecstartstops          lib/third_party/dns/grange.py	from_textr      s    D
CE Q3mm''(KLL8
HECE#Xs8DCEYY[[HC--++,@A,FGG  mm''))z3xz3x199A::D==     )__doc__r   r    r   r   <module>r      s   $ % 
/r   