From 84976b247fb9a056323367e4da3043557a152bfc Mon Sep 17 00:00:00 2001 From: Nicholas Christensen Date: Sun, 3 Jan 2021 23:42:13 -0600 Subject: [PATCH] document meaning of UniqueTag --- pytools/tag.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pytools/tag.py b/pytools/tag.py index b463ff4..dd458af 100644 --- a/pytools/tag.py +++ b/pytools/tag.py @@ -128,8 +128,12 @@ class Tag: class UniqueTag(Tag): """ - Only one instance of this type of tag may be assigned - to a single tagged object. + Parent class intended for subclassing. + + Each instance of :class:`Taggable` may have no more than one + instance of each subclass of :class:`UniqueTag` in its + set of `tags`. Multiple `UniqueTag` instances of + different subclasses are allowed. """ pass -- GitLab