Next / Previous / Contents / Shipman's homepage

19. fatal(): Write a message and terminate

deduper
# - - -   f a t a l

def fatal(*L):
    '''Print a message and terminate.

      [ L is a list of strings ->
          sys.stderr  +:=  concatenated elements of L
          stop execution ]
    '''
    message(*L)
    sys.exit(1)