Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/dns/__pycache__/rdataclass.cpython-312.pyc

40 lines
3.4 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
g<> i<> <00><00><><00>dZddlZddlZGd<03>dejj
<00>ZejejhZ Gd<05>dejj<00>Z de defd <09>Zd
ede fd <0B>Zd edefd <0A>Zej$Zej&Zej(Zej*Zej,Zej.Zej0ZejZejZy)zDNS Rdata Classes.<2E>Nc<00>t<00>eZdZdZdZdZeZdZeZdZ e Z
dZ dZ e d<08><00>Ze d <09><00>Ze d
<EFBFBD><00>Ze d <0B><00>Zy ) <0A>
RdataClasszDNS Rdata Classr<00><00><00><00><><00><>c<00><00>y)Ni<4E><69><00><00><01>clss <20>=E:\Project\pygoedge\.venv\Lib\site-packages\dns/rdataclass.py<70>_maximumzRdataClass._maximum%s<00><00><14>c<00><00>y)N<>classr r s r<00> _short_namezRdataClass._short_name)<00><00><00>rc<00><00>y)N<>CLASSr r s r<00>_prefixzRdataClass._prefix-rrc<00><00>tS)N)<01>UnknownRdataclassr s r<00>_unknown_exception_classz#RdataClass._unknown_exception_class1s<00><00> <20> rN)<12>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F> RESERVED0<44>IN<49>INTERNET<45>CH<43>CHAOS<4F>HS<48>HESIOD<4F>NONE<4E>ANY<4E> classmethodrrrrr rrrrs<><00><00><19><11>I<EFBFBD>
<EFBFBD>B<EFBFBD><11>H<EFBFBD>
<EFBFBD>B<EFBFBD> <0E>E<EFBFBD>
<EFBFBD>B<EFBFBD> <0F>F<EFBFBD> <0E>D<EFBFBD>
<0A>C<EFBFBD><10><15><11><15><11><17><11><17><11><17><11><17><11>!<21><11>!rrc<00><00>eZdZdZy)rzA DNS class is unknown.N)rrrrr rrrr9s<00><00>!rr<00>text<78>returnc<00>,<00>tj|<00>S)a<>Convert text into a DNS rdata class value.
The input text can be a defined DNS RR class mnemonic or
instance of the DNS generic class syntax.
For example, "IN" and "CLASS1" will both result in a value of 1.
Raises ``dns.rdatatype.UnknownRdataclass`` if the class is unknown.
Raises ``ValueError`` if the rdata class value is not >= 0 and <= 65535.
Returns a ``dns.rdataclass.RdataClass``.
)r<00> from_text)r*s rr-r-=s<00><00> <16> <1F> <1F><04> %<25>%r<00>valuec<00>,<00>tj|<00>S)aConvert a DNS rdata class value to text.
If the value has a known mnemonic, it will be used, otherwise the
DNS generic class syntax will be used.
Raises ``ValueError`` if the rdata class value is not >= 0 and <= 65535.
Returns a ``str``.
)r<00>to_text)r.s rr0r0Os<00><00> <16> <1D> <1D>e<EFBFBD> $<24>$r<00>rdclassc<00><00>|tvryy)z<>True if the specified class is a metaclass.
The currently defined metaclasses are ANY and NONE.
*rdclass* is a ``dns.rdataclass.RdataClass``.
TF)<01> _metaclasses)r1s r<00> is_metaclassr4]s<00><00><0F>,<2C><1E><13> r)r<00>dns.enum<75>dns<6E> dns.exception<6F>enum<75>IntEnumrr&r'r3<00> exception<6F> DNSExceptionr<00>strr-r0<00>boolr4rr r!r"r#r$r%r rr<00><module>r>s<><00><01>$<19><0F><14>!<21><13><18><18>!<21>!<21>!<21><<1B><0F><0F><1A><1E><1E>0<> <0C>"<22><03> <0A> <0A>2<>2<>"<22>&<26>C<EFBFBD>&<26>J<EFBFBD>&<26>$ %<25>:<3A> %<25>#<23> %<25>
<11>*<2A>
<11><14>
<11> <17> <20> <20> <09><0F>]<5D>]<5D><02> <15> <1E> <1E><08><0F>]<5D>]<5D><02><12><18><18><05><0F>]<5D>]<5D><02> <13> <1A> <1A><06><11><EFBFBD><EFBFBD><04><10>n<EFBFBD>n<EFBFBD>r