Home | Trees | Indices | Help |
|
---|
|
object --+ | ConfigItem --+ | StringConfigItem --+ | ListConfigItem --+ | IntListConfigItem
A ConfigItem containing a comma separated list of ints.
Literal handling is analoguos to ListConfigItem.
>>> ci = IntListConfigItem("foo"); ci.value, ci.getAsString() ([], '') >>> ci.set("3,2, 1"); ci.value, ci.getAsString() ([3, 2, 1], '3, 2, 1, ') >>> ci.set(ci.getAsString()); ci.value [3, 2, 1] >>> ci.set("1, 2, 3, rubbish") Traceback (most recent call last): ParseError: Non-integer in integer list
Instance Methods | |
Inherited from Inherited from |
Class Variables | |
typedesc =
|
|
default = "" hash(x) |
Properties | |
Inherited from |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |