Package Pyblio :: Module Attribute :: Class Text
[hide private]
[frames] | no frames]

Class Text

source code

object --+        
         |        
basestring --+    
             |    
       unicode --+
                 |
    object --+   |
             |   |
    _Qualified --+
                 |
                Text

Textual data

Instance Methods [hide private]
 
__init__(self, text=u'')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
xmlwrite(self, fd, offset=0) source code
 
index(self)
Like S.find() but raise ValueError when the substring is not found.
source code
 
sort(self) source code
 
deep_equal(self, other) source code

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

Inherited from _Qualified: is_complete

Inherited from _Qualified (private): _xmlsubwrite

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]
 
xmlread(k, xml) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, text=u'')
(Constructor)

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

index(self)

source code 
Like S.find() but raise ValueError when the substring is not found.
Returns:
int

Overrides: unicode.index
(inherited documentation)

deep_equal(self, other)

source code 
Overrides: _Qualified.deep_equal