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.
The objectName
value will be used in exceptions, i.e.
"Item must be a CollectDir object."
if
objectName
is "CollectDir"
.
|
|||
new empty list |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Initializes a typed list for a particular type.
|
Overrides the standard
|
Overrides the standard
|
Overrides the standard
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jan 5 14:52:05 2015 | http://epydoc.sourceforge.net |