Home | Trees | Index | Help |
---|
Package svnmailer :: Package settings :: Class Tokens |
|
object
--+
|
Tokens
Generic token container
The purpose of the container is to avoid typos when using literal constants and nasty hidden bugs because of them. If we mistype <instance>.<token> we get an AttributeError. When using plain literals we may just get misbehaviour instead.
Additionally valid_tokens
provides the set of valid tokens
for checks.
Method Summary | |
---|---|
Initialization | |
Returns a string representation of the instance | |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Instance Variable Summary | |
---|---|
tuple | valid_tokens : The valid tokens (('t1', 't2', ...)) |
Method Details |
---|
__init__(self,
*args)
Initialization |
__repr__(self)
Returns a string representation of the instance |
Instance Variable Details |
---|
valid_tokensThe valid tokens (('t1', 't2', ...))
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:19 2005 | http://epydoc.sf.net |