'Initialize the handler.
If stream is not specified, sys.stderr is used.'

def __init__(self, stream=None):

    Handler.__init__(self)
    if (stream is None):
        stream = sys.stderr
    self.stream = stream
