Skip to content

Commit

Permalink
fix epydoc params for idna_codec
Browse files Browse the repository at this point in the history
  • Loading branch information
rthalley committed Sep 30, 2016
1 parent d5848ed commit 2ce1c90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dns/name.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def to_unicode(self, omit_final_dot=False, idna_codec=None):
@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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2ce1c90

Please sign in to comment.