summaryrefslogtreecommitdiff
path: root/dns/name.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2016-09-30 08:16:26 -0700
committerBob Halley <halley@dnspython.org>2016-09-30 08:16:26 -0700
commit2ce1c9048c4df7dceafe598769b27a33d37a3af1 (patch)
tree7b5c84ec37d6a38635ce7de2fee8b401b176b381 /dns/name.py
parentd5848ed532350082c772b1bc96ff7d3c07d82f0c (diff)
downloaddnspython-2ce1c9048c4df7dceafe598769b27a33d37a3af1.tar.gz
fix epydoc params for idna_codecv1.15.0
Diffstat (limited to 'dns/name.py')
-rw-r--r--dns/name.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dns/name.py b/dns/name.py
index fabdea6..97e216c 100644
--- a/dns/name.py
+++ b/dns/name.py
@@ -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