]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix restructured text issues
authorBob Halley <halley@dnspython.org>
Sat, 31 Dec 2016 18:28:34 +0000 (10:28 -0800)
committerBob Halley <halley@dnspython.org>
Sat, 31 Dec 2016 18:28:34 +0000 (10:28 -0800)
dns/exception.py

index 6c0b1f4b2a3d24af97f120cc4bd0f2c62aa13281..0e468c75a019798b434a46de974f51af06db75fa 100644 (file)
@@ -23,15 +23,15 @@ class DNSException(Exception):
     It supports two basic modes of operation:
 
     a) Old/compatible mode is used if __init__ was called with
-    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.
+    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.
+    if \*args is empty.
 
     b) New/parametrized mode is used if __init__ was called with
-    non-empty **kwargs.
-    In the new mode *args has to be empty and all kwargs has to exactly match
+    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
     formatted message based on self.fmt string.