From: Bob Halley Date: Fri, 8 May 2020 14:07:37 +0000 (-0700) Subject: add idna_codec doco to from_text_list() X-Git-Tag: v2.0.0rc1~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7adc9b03e66b067291843c2808317fc8d3092c8b;p=thirdparty%2Fdnspython.git add idna_codec doco to from_text_list() --- diff --git a/dns/rrset.py b/dns/rrset.py index 1113ad36..d05792a9 100644 --- a/dns/rrset.py +++ b/dns/rrset.py @@ -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. """