summaryrefslogtreecommitdiff
path: root/dns/enum.py
Commit message (Collapse)AuthorAgeFilesLines
* Add no cover for abstract method.Bob Halley2020-07-231-1/+1
|
* Remove dns.rdata{type,class}.to_enum.Brian Wellington2020-05-211-1/+14
| | | | | | | 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.
* raise NotImplememtedError, not NotImplementedBob Halley2020-05-201-1/+1
|
* Enum refactoring.Brian Wellington2020-05-191-0/+77
Consolidate the common methods related to enum classes.