Package dbus :: Class Int32
[hide private]
[frames] | no frames]

Class Int32

source code

         object --+        
                  |        
                int --+    
                      |    
_dbus_bindings._IntBase --+
                          |
                         Int32

A signed 32-bit integer between -0x8000 0000 and +0x7FFF FFFF, represented as a subtype of int.

Constructor:

dbus.Int32(value: int[, variant_level: int]) -> Int32

value must be within the allowed range, or OverflowError will be raised.

variant_level must be non-negative; the default is 0.

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(T, S, ...) source code

Inherited from _dbus_bindings._IntBase: __repr__

Inherited from int: __abs__, __add__, __and__, __cmp__, __coerce__, __div__, __divmod__, __float__, __floordiv__, __getattribute__, __getnewargs__, __hash__, __hex__, __index__, __int__, __invert__, __long__, __lshift__, __mod__, __mul__, __neg__, __nonzero__, __oct__, __or__, __pos__, __pow__, __radd__, __rand__, __rdiv__, __rdivmod__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __str__, __sub__, __truediv__, __xor__

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

Instance Variables [hide private]
int variant_level
Indicates how many nested Variant containers this object is contained in: if a message's wire format has a variant containing a variant containing an int32, this is represented in Python by an Int32 with variant_level==2.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(T, S, ...)

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