MCPcopy Index your code
hub / github.com/python/cpython / warn

Function warn

Lib/logging/__init__.py:2205–2208  ·  view source on GitHub ↗
(msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

2203 root.warning(msg, *args, **kwargs)
2204
2205def warn(msg, *args, **kwargs):
2206 warnings.warn("The 'warn' function is deprecated, "
2207 "use 'warning' instead", DeprecationWarning, 2)
2208 warning(msg, *args, **kwargs)
2209
2210def info(msg, *args, **kwargs):
2211 """

Calls 2

warningFunction · 0.85
warnMethod · 0.45

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…