Module string :: Class Template
[show private | hide private]
[frames | no frames]

Type Template

object --+
         |
        Template


A string class for supporting $-substitutions.
Method Summary
  __init__(self, template)
  safe_substitute(self, *args, **kws)
  substitute(self, *args, **kws)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
str delimiter = '$'
str idpattern = '[_a-z][_a-z0-9]*'
SRE_Pattern pattern = \$(?:(\$)|([_a-z][_a-z0-9]*)|\{([_a-z][_a-z0-9...

Class Variable Details

delimiter

Type:
str
Value:
'$'                                                                    

idpattern

Type:
str
Value:
'[_a-z][_a-z0-9]*'                                                     

pattern

Type:
SRE_Pattern
Value:
\$(?:(\$)|([_a-z][_a-z0-9]*)|\{([_a-z][_a-z0-9]*)\}|())                

Generated by Epydoc 2.1 on Wed Jan 3 10:13:56 2007 http://epydoc.sf.net