]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix epydoc params for idna_codec v1.15.0
authorBob Halley <halley@dnspython.org>
Fri, 30 Sep 2016 15:16:26 +0000 (08:16 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 30 Sep 2016 15:16:26 +0000 (08:16 -0700)
dns/name.py

index fabdea6e1646460356f7eeb6d137e16c2c712f69..97e216c8fed9ac9f03be372bfa6c12a6a36b14a5 100644 (file)
@@ -530,7 +530,7 @@ class Name(object):
         @param omit_final_dot: If True, don't emit the final dot (denoting the
         root label) for absolute names.  The default is False.
         @type omit_final_dot: bool
-        @param: idna_codec: IDNA encoder/decoder.  If None, the
+        @param idna_codec: IDNA encoder/decoder.  If None, the
         IDNA_2003_Practical encoder/decoder is used.  The IDNA_2003_Practical
         decoder does not impose any policy, it just decodes punycode, so if
         you don't want checking for compliance, you can use this decoder for
@@ -743,7 +743,7 @@ def from_unicode(text, origin=root, idna_codec=None):
     @type text: Unicode string
     @param origin: The origin to append to non-absolute names.
     @type origin: dns.name.Name
-    @param: idna_codec: IDNA encoder/decoder.  If None, the default IDNA 2003
+    @param idna_codec: IDNA encoder/decoder.  If None, the default IDNA 2003
     encoder/decoder is used.
     @type idna_codec: dns.name.IDNA
     @rtype: dns.name.Name object
@@ -813,7 +813,7 @@ def from_text(text, origin=root, idna_codec=None):
     @type text: string
     @param origin: The origin to append to non-absolute names.
     @type origin: dns.name.Name
-    @param: idna_codec: IDNA encoder/decoder.  If None, the default IDNA 2003
+    @param idna_codec: IDNA encoder/decoder.  If None, the default IDNA 2003
     encoder/decoder is used.
     @type idna_codec: dns.name.IDNA
     @rtype: dns.name.Name object