summaryrefslogtreecommitdiff
path: root/dns/exception.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2016-09-20 12:16:09 -0700
committerBob Halley <halley@dnspython.org>2016-09-20 12:16:09 -0700
commit2495908454c1c5e2bdb663c5bbcfb12d428b4e0d (patch)
tree7ec3014877f61204e91576e3f37c3ad17a5f0ab4 /dns/exception.py
parent5ba9c8ee4f963b33f844bda5105ade2543eb5df3 (diff)
downloaddnspython-2495908454c1c5e2bdb663c5bbcfb12d428b4e0d.tar.gz
fix minor doco errors.
Diffstat (limited to 'dns/exception.py')
-rw-r--r--dns/exception.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/exception.py b/dns/exception.py
index 151f584..6c0b1f4 100644
--- a/dns/exception.py
+++ b/dns/exception.py
@@ -23,14 +23,14 @@ class DNSException(Exception):
It supports two basic modes of operation:
a) Old/compatible mode is used if __init__ was called with
- empty **kwargs.
+ empty **kwargs.
In compatible mode all *args are passed to standard Python Exception class
as before and all *args are printed by standard __str__ implementation.
Class variable msg (or doc string if msg is None) is returned from str()
if *args is empty.
b) New/parametrized mode is used if __init__ was called with
- non-empty **kwargs.
+ non-empty **kwargs.
In the new mode *args has to be empty and all kwargs has to exactly match
set in class variable self.supp_kwargs. All kwargs are stored inside
self.kwargs and used in new __str__ implementation to construct