Package glue :: Package ligolw :: Package utils :: Class SignalsTrap
[hide private]
[frames] | no frames]

Class SignalsTrap

source code

object --+
         |
        SignalsTrap

Instance Methods [hide private]
 
__enter__(self) source code
 
__exit__(self, *args) source code
 
__init__(self, trap_signals=(15, 20))
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
handler(self, signum, frame) source code

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

Class Variables [hide private]
  default_signals = (15, 20)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, trap_signals=(15, 20))
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)