diff options
| author | Bob Halley <halley@dnspython.org> | 2020-05-08 07:07:37 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-05-08 07:07:37 -0700 |
| commit | 7adc9b03e66b067291843c2808317fc8d3092c8b (patch) | |
| tree | d356df233fbb606882587a3a3c8018deea9d8e73 | |
| parent | c8484ecb460ef90a9db6d32eef09542d3e850c57 (diff) | |
| download | dnspython-7adc9b03e66b067291843c2808317fc8d3092c8b.tar.gz | |
add idna_codec doco to from_text_list()
| -rw-r--r-- | dns/rrset.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dns/rrset.py b/dns/rrset.py index 1113ad3..d05792a 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. """ |
