Package svnmailer :: Module struct_accessors :: Class QuotedstringDescriptor
[hide private]

Class QuotedstringDescriptor

source code

                  object --+            
typedstruct.MemberDescriptor --+        
                  BaseDescriptor --+    
                BasePremapDescriptor --+

Quoted string storage

Instance Methods [hide private]
doTransform(self, value, arg)
Parses value as quoted string
source code

Inherited from BasePremapDescriptor: doPostmap, doPremap

Inherited from BaseDescriptor: __init__, doSubstitute, getCharset, getFileCharset, postmap, premap, substitute, transform

Inherited from typedstruct.MemberDescriptor: __delete__, __get__, __set__

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

Instance Variables [hide private]

Inherited from typedstruct.MemberDescriptor: name, param

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

doTransform(self, value, arg)

source code 

Parses value as quoted string

  • value - The value to tranform
  • arg - The argument used for struct initialization
Returns: any
The transformed value
  • ValueError - The value is not parsable as quoted string
Overrides: BaseDescriptor.doTransform