Module dvm :: Class MAP_ITEM_NAMEDTUPLE
[hide private]
[frames] | no frames]

Class MAP_ITEM_NAMEDTUPLE

source code

object --+    
         |    
     tuple --+
             |
            MAP_ITEM_NAMEDTUPLE

MAP_ITEM_NAMEDTUPLE(type, unused, size, offset)

Instance Methods [hide private]
 
__getnewargs__(self) source code
 
__repr__(self)
repr(x)
source code
 
_asdict(t)
Return a new dict which maps field names to their values
source code
 
_replace(_self, **kwds)
Return a new MAP_ITEM_NAMEDTUPLE 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__, __sizeof__, count, index

Inherited from object: __delattr__, __format__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Methods [hide private]
 
_make(cls, iterable, new=<built-in method __new__ of type object at 0x8232360>, len=<built-in function len>)
Make a new MAP_ITEM_NAMEDTUPLE object from a sequence or iterable
source code
Static Methods [hide private]
a new object with type S, a subtype of T
__new__(_cls, type, unused, size, offset) source code
Class Variables [hide private]
  _fields = ('type', 'unused', 'size', 'offset')
Properties [hide private]
  offset
itemgetter(item, ...) --> itemgetter object
  size
itemgetter(item, ...) --> itemgetter object
  type
itemgetter(item, ...) --> itemgetter object
  unused
itemgetter(item, ...) --> itemgetter object

Inherited from object: __class__

Method Details [hide private]

__getnewargs__(self)

source code 
Overrides: tuple.__getnewargs__

__new__(_cls, type, unused, size, offset)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

offset

itemgetter(item, ...) --> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

Get Method:
<operator.itemgetter object at 0x8e72b8c>

size

itemgetter(item, ...) --> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

Get Method:
<operator.itemgetter object at 0x8e72b6c>

type

itemgetter(item, ...) --> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

Get Method:
<operator.itemgetter object at 0x8e72b2c>

unused

itemgetter(item, ...) --> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

Get Method:
<operator.itemgetter object at 0x8e72b4c>