]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Remove dns.rdata{type,class}.to_enum. 479/head
authorBrian Wellington <bwelling@xbill.org>
Thu, 21 May 2020 17:53:24 +0000 (10:53 -0700)
committerBrian Wellington <bwelling@xbill.org>
Thu, 21 May 2020 17:53:24 +0000 (10:53 -0700)
commita1cddfabca128d326b5e6b6eaab21dff7d2b5bcc
treea128a04a92b3d192e72a67802624d19697f69fea
parent985d9d8d2b18576d063cd84864498cc7362f60b8
Remove dns.rdata{type,class}.to_enum.

These methods (which convert a str/int into an enum/int) shouldn't be
commonly used by external code, so don't need to exist at the module
level.  The make() method on the enum class (renamed from to_enum()) can
still be used, and the internal callers have been updated to use it.
dns/enum.py
dns/message.py
dns/query.py
dns/rdata.py
dns/rdataclass.py
dns/rdataset.py
dns/rdatatype.py
dns/resolver.py
dns/rrset.py
dns/update.py
dns/zone.py