From 93f21ea5c9cb169061da2ed31707eb4fdf57faf8 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 14 Jan 2017 10:30:41 -0800 Subject: [PATCH] more message doco --- dns/message.py | 2 +- doc/message.rst | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.47.3