summaryrefslogtreecommitdiff
path: root/dns/entropy.py
diff options
context:
space:
mode:
authorBrian Wellington <bwelling@xbill.org>2020-06-03 15:56:58 -0700
committerBrian Wellington <bwelling@xbill.org>2020-06-03 15:56:58 -0700
commitcc55d17f5478751da21a7b325b2b46e8d94d8ffb (patch)
treecfe1f182855d91fef11be31e4f4b77eeb214790d /dns/entropy.py
parent8643c7d660fcc3bf620b085c2e483d1419408f96 (diff)
downloaddnspython-cc55d17f5478751da21a7b325b2b46e8d94d8ffb.tar.gz
Minor Python 3 cleanups.
Classes inherit from object by default; there's no need to explicitly include this. Replace super(Foo, self) with super().
Diffstat (limited to 'dns/entropy.py')
-rw-r--r--dns/entropy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/entropy.py b/dns/entropy.py
index 293d00b..cd79083 100644
--- a/dns/entropy.py
+++ b/dns/entropy.py
@@ -25,7 +25,7 @@ except ImportError:
import dummy_threading as _threading # type: ignore
-class EntropyPool(object):
+class EntropyPool:
# This is an entropy pool for Python implementations that do not
# have a working SystemRandom. I'm not sure there are any, but