From: Bob Halley Date: Sat, 14 Jan 2017 18:30:41 +0000 (-0800) Subject: more message doco X-Git-Tag: v1.16.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f21ea5c9cb169061da2ed31707eb4fdf57faf8;p=thirdparty%2Fdnspython.git more message doco --- diff --git a/dns/message.py b/dns/message.py index b403d70f..51c3cfa5 100644 --- a/dns/message.py +++ b/dns/message.py @@ -503,7 +503,7 @@ class Message(object): *options*, a list of ``dns.edns.Option`` objects or ``None``, the EDNS options. -o """ + """ if edns is None or edns is False: edns = -1 diff --git a/doc/message.rst b/doc/message.rst index ee34b474..2404e2f8 100644 --- a/doc/message.rst +++ b/doc/message.rst @@ -4,6 +4,12 @@ DNS Messages ============ +Objects of the dns.message.Message class represent a single DNS message. + +The module provides tools for constructing and manipulating messages. +TSIG signatures and EDNS are also supported. Messages can be dumped to +a textual form, and also read from that form. + .. toctree:: message-class