]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add idna_codec doco to from_text_list()
authorBob Halley <halley@dnspython.org>
Fri, 8 May 2020 14:07:37 +0000 (07:07 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 8 May 2020 14:07:37 +0000 (07:07 -0700)
dns/rrset.py

index 1113ad36ef1b4b4f6291cbd2ccfe0c8aa867617f..d05792a9a91ecd6ccef6cff262b80dbc908aa674 100644 (file)
@@ -131,6 +131,10 @@ def from_text_list(name, ttl, rdclass, rdtype, text_rdatas,
     """Create an RRset with the specified name, TTL, class, and type, and with
     the specified list of rdatas in text format.
 
+    *idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
+    encoder/decoder to use; if ``None``, the default IDNA 2003
+    encoder/decoder is used.
+
     Returns a ``dns.rrset.RRset`` object.
     """