class_docstr: EventEmitter subclass used to allow deprecated events to be used with a
  warning message.
class_docstr_tok: ["EventEmitter","subclass","used","to","allow","deprecated","events","to","be","used","with","a","warning","message","."]
code: def __init__(self, message, *args, **kwargs):
      self._message = message
      self._warned = False
      EventEmitter.__init__(self, *args, **kwargs)
  
imports: from __future__ import division
  from collections import OrderedDict
  import inspect
  import traceback
  import weakref
  from .logs import logger, _handle_exception
label_desc: Use image node_id 1 to create a new WarningEmitter object from inherited base classes: EventEmitter with example: obj = WarningEmitter(message)