Package param :: Module tk :: Class String_ObjectTranslator
[hide private]
[frames] | no frames]

Class String_ObjectTranslator

source code


Instance Methods [hide private]
 
__init__(self, param, initial_value=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
string2object(self, string_) source code
 
object2string(self, object_) source code
 
update(self) source code
 
__copy__(self)
Copy only translator-specific state.
source code

Inherited from Translator (private): _pass_out_msg

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  cache = {}
dict() -> new empty dictionary.

Inherited from Translator: last_string2object_failed

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, param, initial_value=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

string2object(self, string_)

source code 
Overrides: Translator.string2object

object2string(self, object_)

source code 
Overrides: Translator.object2string

__copy__(self)

source code 
Copy only translator-specific state.
Overrides: Translator.__copy__
(inherited documentation)

Class Variable Details [hide private]

cache

dict() -> new empty dictionary.
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs.
dict(seq) -> new dictionary initialized as if via:
    d = {}
    for k, v in seq:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

Value:
{}