MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / warn

Function warn

tools/python-3.11.9-amd64/Lib/logging/__init__.py:2128–2131  ·  view source on GitHub ↗
(msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

2126 root.warning(msg, *args, **kwargs)
2127
2128def warn(msg, *args, **kwargs):
2129 warnings.warn("The 'warn' function is deprecated, "
2130 "use 'warning' instead", DeprecationWarning, 2)
2131 warning(msg, *args, **kwargs)
2132
2133def info(msg, *args, **kwargs):
2134 """

Callers

nothing calls this directly

Calls 2

warningFunction · 0.85
warnMethod · 0.45

Tested by

no test coverage detected