code: def customized_warning(message, category=UserWarning,
                         filename='', lineno=-1, file=None, line=None):
      
      print("WARNING: {0}".format(message))
docs: Customized function to display warnings.
      Monkey patch for `warnings.showwarning`.