Module speaklater :: Class _LazyString
[hide private]
[frames] | no frames]

Class _LazyString

source code

object --+
         |
        _LazyString

Class for strings created by a function call.

The proxy implementation attempts to be as complete as possible, so that the lazy objects should mostly work as expected, for example for sorting.

Instance Methods [hide private]
 
__init__(self, func, args, kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__contains__(self, key) source code
 
__nonzero__(self) source code
 
__dir__(self) source code
 
__iter__(self) source code
 
__len__(self) source code
 
__str__(self)
str(x)
source code
 
__unicode__(self) source code
 
__add__(self, other) source code
 
__radd__(self, other) source code
 
__mod__(self, other) source code
 
__rmod__(self, other) source code
 
__mul__(self, other) source code
 
__rmul__(self, other) source code
 
__lt__(self, other) source code
 
__le__(self, other) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__gt__(self, other) source code
 
__ge__(self, other) source code
 
__getattr__(self, name) source code
 
__getstate__(self) source code
 
__setstate__(self, tup) source code
 
__getitem__(self, key) source code
 
__copy__(self) source code
 
__repr__(self)
repr(x)
source code

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

Properties [hide private]
  value
  _args
  _func
  _kwargs

Inherited from object: __class__

Method Details [hide private]

__init__(self, func, args, kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

value

Get Method:
unreachable(x)