Home | Trees | Index | Help |
---|
Module nonmockobjects :: Class Choose |
|
object
--+ |Chooser
--+ | Choose
Method Summary | |
---|---|
Specifies the choices being made available. | |
Returns the various choices in this Choose. | |
Returns the default choice from the selection, which is the first. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
*choices)
Specifies the choices being made available.
|
__iter__(self)Returns the various choices in this Choose. |
default(self)Returns the default choice from the selection, which is the first. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Mar 1 14:03:21 2007 | http://epydoc.sf.net |