From ff45c181d4db252be52feeafa034a099a57ca8e5 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Mon, 4 Mar 2024 13:54:06 -0800 Subject: [PATCH] Update Set docstring [#1063]. --- dns/set.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dns/set.py b/dns/set.py index 9081048a..04826e2e 100644 --- a/dns/set.py +++ b/dns/set.py @@ -21,10 +21,11 @@ import itertools class Set: """A simple set class. - This class was originally used to deal with sets being missing in - ancient versions of python, but dnspython will continue to use it - as these sets are based on lists and are thus indexable, and this - ability is widely used in dnspython applications. + This class was originally used to deal with python not having a set class, and + originally the class used lists in its implementation. The ordered and indexable + nature of RRsets and Rdatasets is unfortunately widely used in dnspython + applications, so for backwards compatibility sets continue to be a custom class, now + based on an ordered dictionary. """ __slots__ = ["items"] -- 2.47.3