opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
dns
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
698 bytes
Rename
Delete
_asyncbackend.cpython-312.pyc
4.68 KB
Rename
Delete
_asyncio_backend.cpython-312.pyc
13.93 KB
Rename
Delete
_ddr.cpython-312.pyc
7.59 KB
Rename
Delete
_features.cpython-312.pyc
3.20 KB
Rename
Delete
_immutable_ctx.cpython-312.pyc
3.14 KB
Rename
Delete
_trio_backend.cpython-312.pyc
13.13 KB
Rename
Delete
asyncbackend.cpython-312.pyc
3.31 KB
Rename
Delete
asyncquery.cpython-312.pyc
36.65 KB
Rename
Delete
asyncresolver.cpython-312.pyc
20.80 KB
Rename
Delete
dnssec.cpython-312.pyc
50.30 KB
Rename
Delete
dnssectypes.cpython-312.pyc
1.91 KB
Rename
Delete
e164.cpython-312.pyc
4.77 KB
Rename
Delete
edns.cpython-312.pyc
25.07 KB
Rename
Delete
entropy.cpython-312.pyc
5.78 KB
Rename
Delete
enum.cpython-312.pyc
4.75 KB
Rename
Delete
exception.cpython-312.pyc
7.03 KB
Rename
Delete
flags.cpython-312.pyc
2.97 KB
Rename
Delete
grange.cpython-312.pyc
1.71 KB
Rename
Delete
immutable.cpython-312.pyc
3.67 KB
Rename
Delete
inet.cpython-312.pyc
6.52 KB
Rename
Delete
ipv4.cpython-312.pyc
2.64 KB
Rename
Delete
ipv6.cpython-312.pyc
6.64 KB
Rename
Delete
message.cpython-312.pyc
84.56 KB
Rename
Delete
name.cpython-312.pyc
48.00 KB
Rename
Delete
namedict.cpython-312.pyc
4.23 KB
Rename
Delete
nameserver.cpython-312.pyc
14.07 KB
Rename
Delete
node.cpython-312.pyc
16.22 KB
Rename
Delete
opcode.cpython-312.pyc
3.04 KB
Rename
Delete
query.cpython-312.pyc
63.10 KB
Rename
Delete
rcode.cpython-312.pyc
4.31 KB
Rename
Delete
rdata.cpython-312.pyc
37.64 KB
Rename
Delete
rdataclass.cpython-312.pyc
3.42 KB
Rename
Delete
rdataset.cpython-312.pyc
22.37 KB
Rename
Delete
rdatatype.cpython-312.pyc
9.98 KB
Rename
Delete
renderer.cpython-312.pyc
15.75 KB
Rename
Delete
resolver.cpython-312.pyc
86.04 KB
Rename
Delete
reversename.cpython-312.pyc
4.60 KB
Rename
Delete
rrset.cpython-312.pyc
12.16 KB
Rename
Delete
serial.cpython-312.pyc
5.04 KB
Rename
Delete
set.cpython-312.pyc
11.92 KB
Rename
Delete
tokenizer.cpython-312.pyc
25.91 KB
Rename
Delete
transaction.cpython-312.pyc
28.62 KB
Rename
Delete
tsig.cpython-312.pyc
16.35 KB
Rename
Delete
tsigkeyring.cpython-312.pyc
2.81 KB
Rename
Delete
ttl.cpython-312.pyc
2.37 KB
Rename
Delete
update.cpython-312.pyc
15.87 KB
Rename
Delete
version.cpython-312.pyc
752 bytes
Rename
Delete
versioned.cpython-312.pyc
14.26 KB
Rename
Delete
win32util.cpython-312.pyc
9.31 KB
Rename
Delete
wire.cpython-312.pyc
5.30 KB
Rename
Delete
xfr.cpython-312.pyc
14.12 KB
Rename
Delete
zone.cpython-312.pyc
65.90 KB
Rename
Delete
zonefile.cpython-312.pyc
32.97 KB
Rename
Delete
zonetypes.cpython-312.pyc
1.29 KB
Rename
Delete
� !��g` � �8 � d Z ddlmZ ddlZdedeeeef fd�Zy)zDNS GENERATE range conversion.� )�TupleN�text�returnc �> � d}d}d}d}d}| r'| d dk( rt j j d� �| D ]h }|dk( r|dk( rt |� }d}d}�|dk( rt |� }d}d}�2|j � r||z }�Ht j j d |� �� � |dk( rt j j d � �|dk( rt |� }n|dk( sJ �t |� }|dk\ sJ �|dk\ sJ �||kD rt j j 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 zno stop value specifiedzstart must be <= stop)�dns� exception�SyntaxError�int�isdigit)r �start�stop�step�cur�state�cs �9/opt/hc_python/lib/python3.12/site-packages/dns/grange.py� from_textr s; � � �E� �D��D� �C� �E� ��Q��3���m�m�'�'�(K�L�L� ����8��� ���H�E��C��E� �#�X��s�8�D��C��E� �Y�Y�[��1�H�C��-�-�+�+�.>�q�c�,B�C�C� � ��z��m�m�'�'�(A�B�B� �!���3�x����z��z��3�x���1�9��9��A�:��:��t�|��m�m�'�'�(?�@�@��4���� )�__doc__�typingr r �strr r � r r �<module>r s. ��$ %� � �/�C� /�E�#�s�C�-�0� /r
Save