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

Method warn

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

Source from the content-addressed store, hash-verified

1501 self._log(WARNING, msg, args, **kwargs)
1502
1503 def warn(self, msg, *args, **kwargs):
1504 warnings.warn("The 'warn' method is deprecated, "
1505 "use 'warning' instead", DeprecationWarning, 2)
1506 self.warning(msg, *args, **kwargs)
1507
1508 def error(self, msg, *args, **kwargs):
1509 """

Callers 3

warnMethod · 0.45
warnFunction · 0.45
__init__.pyFile · 0.45

Calls 1

warningMethod · 0.95

Tested by

no test coverage detected