Module test :: Class ScriptTestData
[hide private]
[frames] | no frames]

type ScriptTestData

source code

object --+    
         |    
     tuple --+
             |
            ScriptTestData

ScriptTestData(time_point, device, location)

Instance Methods [hide private]
 
__getnewargs__(self)
Return self as a plain tuple.
source code
 
__getstate__(self)
Exclude the OrderedDict from pickling
source code
 
__repr__(self)
Return a nicely formatted representation string
source code
 
_asdict(self)
Return a new OrderedDict which maps field names to their values
source code
 
_replace(_self, **kwds)
Return a new ScriptTestData object replacing specified fields with new values
source code

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __rmul__, count, index

Class Methods [hide private]
 
_make(cls, iterable, new=<built-in method __new__ of type object at 0x7f16350919a0>, len=<built-in function len>)
Make a new ScriptTestData object from a sequence or iterable
source code
Static Methods [hide private]
a new object with type S, a subtype of T
__new__(_cls, time_point, device, location)
Create new instance of ScriptTestData(time_point, device, location)
source code
Class Variables [hide private]
  _fields = ('time_point', 'device', 'location')
Properties [hide private]
  device
Alias for field number 1
  location
Alias for field number 2
  time_point
Alias for field number 0
Method Details [hide private]

__getnewargs__(self)

source code 

Return self as a plain tuple. Used by copy and pickle.

Overrides: tuple.__getnewargs__

__new__(_cls, time_point, device, location)
Static Method

source code 

Create new instance of ScriptTestData(time_point, device, location)

Returns: a new object with type S, a subtype of T
Overrides: tuple.__new__

__repr__(self)
(Representation operator)

source code 

Return a nicely formatted representation string

Overrides: tuple.__repr__

Property Details [hide private]

device

Alias for field number 1

location

Alias for field number 2

time_point

Alias for field number 0