summaryrefslogtreecommitdiff
path: root/dns/rdataclass.py
diff options
context:
space:
mode:
Diffstat (limited to 'dns/rdataclass.py')
-rw-r--r--dns/rdataclass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdataclass.py b/dns/rdataclass.py
index 916dc61..d3d883d 100644
--- a/dns/rdataclass.py
+++ b/dns/rdataclass.py
@@ -39,7 +39,7 @@ _by_text = {
# cannot make any mistakes (e.g. omissions, cut-and-paste errors) that
# would cause the mapping not to be true inverse.
-_by_value = dict((y, x) for x, y in _by_text.items())
+_by_value = {y: x for x, y in _by_text.items()}
# Now that we've built the inverse map, we can add class aliases to
# the _by_text mapping.