diff options
| author | Barry Warsaw | 2015-12-16 10:38:04 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2015-12-16 14:52:56 -0500 |
| commit | ff84c2bb24555d4ae6276b1dca7071b440172bdb (patch) | |
| tree | 116baf4b4c5663efea47346bd7e67c6e3e18d997 /src/mailman/interfaces/pending.py | |
| parent | b414461832e4da232096904f2630b07a8caf6b15 (diff) | |
| download | mailman-ff84c2bb24555d4ae6276b1dca7071b440172bdb.tar.gz mailman-ff84c2bb24555d4ae6276b1dca7071b440172bdb.tar.zst mailman-ff84c2bb24555d4ae6276b1dca7071b440172bdb.zip | |
Diffstat (limited to 'src/mailman/interfaces/pending.py')
| -rw-r--r-- | src/mailman/interfaces/pending.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mailman/interfaces/pending.py b/src/mailman/interfaces/pending.py index 152946b66..59890ee03 100644 --- a/src/mailman/interfaces/pending.py +++ b/src/mailman/interfaces/pending.py @@ -37,7 +37,13 @@ from zope.interface import Interface, Attribute class IPendable(Interface): """A pendable object.""" - PEND_TYPE = Attribute("""The type of this pendable.""") + PEND_TYPE = Attribute( + """The type of this pendable. + + Subclasses must define this attribute, and it must be a unique string; + it's used to efficiently search for all pendables of the given type. + The PEND_TYPE "type" is reserved. + """) def keys(): """The keys of the pending event data, all of which are strings.""" |
