def signame(sig):
 if (_signames is None):
  _init_signames()
 return (_signames.get(sig) or ('signal %d' % sig))

def signame ( sig ) : if ( _signames is None ) : _init_signames ( ) return ( _signames . get ( sig ) or ( 'signal %d' % sig ) )
return a symbolic name for a signal .