def warning(msg, *args, **kwargs):
    if len(root.handlers) == 0:
        basicConfig()
    apply(root.warning, (msg,)+args, kwargs)
Log a message with severity 'WARNING' on the root logger.
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/warning