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

Method warn

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

Source from the content-addressed store, hash-verified

1855 self.log(WARNING, msg, *args, **kwargs)
1856
1857 def warn(self, msg, *args, **kwargs):
1858 warnings.warn("The 'warn' method is deprecated, "
1859 "use 'warning' instead", DeprecationWarning, 2)
1860 self.warning(msg, *args, **kwargs)
1861
1862 def error(self, msg, *args, **kwargs):
1863 """

Callers

nothing calls this directly

Calls 2

warningMethod · 0.95
warnMethod · 0.45

Tested by

no test coverage detected