From 28a8bbf563e8186eaf4ac27105ed3815ca9953f0 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Mon, 11 May 2020 05:51:00 -0700 Subject: [PATCH] fix some leftover doco issues --- dns/rdtypes/ANY/AVC.py | 4 ++-- dns/rdtypes/ANY/EUI48.py | 8 ++++---- dns/rdtypes/ANY/EUI64.py | 8 ++++---- dns/rdtypes/ANY/NINFO.py | 5 +++-- dns/rdtypes/ANY/SPF.py | 4 ++-- dns/rdtypes/CH/A.py | 9 ++++----- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/dns/rdtypes/ANY/AVC.py b/dns/rdtypes/ANY/AVC.py index 7f340b39..44d23ada 100644 --- a/dns/rdtypes/ANY/AVC.py +++ b/dns/rdtypes/ANY/AVC.py @@ -20,6 +20,6 @@ import dns.rdtypes.txtbase class AVC(dns.rdtypes.txtbase.TXTBase): - """AVC record + """AVC record""" - @see: U{http://www.iana.org/assignments/dns-parameters/AVC/avc-completed-template}""" + # See: U{http://www.iana.org/assignments/dns-parameters/AVC/avc-completed-template} diff --git a/dns/rdtypes/ANY/EUI48.py b/dns/rdtypes/ANY/EUI48.py index aa260e20..b16e81f3 100644 --- a/dns/rdtypes/ANY/EUI48.py +++ b/dns/rdtypes/ANY/EUI48.py @@ -1,3 +1,5 @@ +# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license + # Copyright (C) 2015 Red Hat, Inc. # Author: Petr Spacek # @@ -19,11 +21,9 @@ import dns.rdtypes.euibase class EUI48(dns.rdtypes.euibase.EUIBase): - """EUI48 record + """EUI48 record""" - @ivar fingerprint: 48-bit Extended Unique Identifier (EUI-48) - @type fingerprint: string - @see: rfc7043.txt""" + # see: rfc7043.txt byte_len = 6 # 0123456789ab (in hex) text_len = byte_len * 3 - 1 # 01-23-45-67-89-ab diff --git a/dns/rdtypes/ANY/EUI64.py b/dns/rdtypes/ANY/EUI64.py index 5eba350d..cc080760 100644 --- a/dns/rdtypes/ANY/EUI64.py +++ b/dns/rdtypes/ANY/EUI64.py @@ -1,3 +1,5 @@ +# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license + # Copyright (C) 2015 Red Hat, Inc. # Author: Petr Spacek # @@ -19,11 +21,9 @@ import dns.rdtypes.euibase class EUI64(dns.rdtypes.euibase.EUIBase): - """EUI64 record + """EUI64 record""" - @ivar fingerprint: 64-bit Extended Unique Identifier (EUI-64) - @type fingerprint: string - @see: rfc7043.txt""" + # see: rfc7043.txt byte_len = 8 # 0123456789abcdef (in hex) text_len = byte_len * 3 - 1 # 01-23-45-67-89-ab-cd-ef diff --git a/dns/rdtypes/ANY/NINFO.py b/dns/rdtypes/ANY/NINFO.py index d754bc1a..d4c8572c 100644 --- a/dns/rdtypes/ANY/NINFO.py +++ b/dns/rdtypes/ANY/NINFO.py @@ -20,5 +20,6 @@ import dns.rdtypes.txtbase class NINFO(dns.rdtypes.txtbase.TXTBase): - """NINFO record - @see: draft-reid-dnsext-zs-01""" + """NINFO record""" + + # see: draft-reid-dnsext-zs-01 diff --git a/dns/rdtypes/ANY/SPF.py b/dns/rdtypes/ANY/SPF.py index 41dee623..f1f6834e 100644 --- a/dns/rdtypes/ANY/SPF.py +++ b/dns/rdtypes/ANY/SPF.py @@ -20,6 +20,6 @@ import dns.rdtypes.txtbase class SPF(dns.rdtypes.txtbase.TXTBase): - """SPF record + """SPF record""" - @see: RFC 4408""" + # see: RFC 4408 diff --git a/dns/rdtypes/CH/A.py b/dns/rdtypes/CH/A.py index 1395f7a1..9c620ea0 100644 --- a/dns/rdtypes/CH/A.py +++ b/dns/rdtypes/CH/A.py @@ -20,11 +20,10 @@ import struct class A(dns.rdtypes.mxbase.MXBase): - """A record for Chaosnet - @ivar domain: the domain of the address - @type domain: dns.name.Name object - @ivar address: the 16-bit address - @type address: int""" + """A record for Chaosnet""" + + # domain: the domain of the address + # address: the 16-bit address __slots__ = ['domain', 'address'] -- 2.47.3