Package Pyblio :: Package Format :: Module DSL :: Class _Proto
[hide private]
[frames] | no frames]

Class _Proto

source code

object --+        
         |        
basestring --+    
             |    
           str --+
                 |
                _Proto

Proto is a string subclass. Instances of Proto, which are constructed with a string, will construct Tag instances in response to __call__ and __getitem__, delegating responsibility to the tag.

Instance Methods [hide private]
 
__call__(self, **kw) source code
 
__getitem__(self, children)
x[y]
source code

Inherited from str: __add__, __contains__, __eq__, __ge__, __getattribute__, __getnewargs__, __getslice__, __gt__, __hash__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __new__, __repr__, __rmod__, __rmul__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, index, isalnum, isalpha, isdigit, islower, isspace, istitle, isupper, join, ljust, lower, lstrip, replace, rfind, rindex, rjust, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getitem__(self, children)
(Indexing operator)

source code 
x[y]
Overrides: str.__getitem__
(inherited documentation)