| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
list --+
|
UnorderedList --+
|
ObjectTypeList
Class representing a list containing only objects with a certain type.
This is an unordered list.
We override the append, insert and
extend methods to ensure that any item added to the list
matches the type that is requested. The comparison uses the built-in
isinstance, which should allow subclasses of of the
requested type to be added to the list as well.
objectName value will be used in exceptions, i.e.
"Item must be a CollectDir object." if
objectName is "CollectDir".
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
append method.
|
insert method.
|
insert method.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Mon May 5 19:58:15 2008 | http://epydoc.sourceforge.net |