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

Method warn

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

Source from the content-addressed store, hash-verified

1535 self._log(WARNING, msg, args, **kwargs)
1536
1537 def warn(self, msg, *args, **kwargs):
1538 warnings.warn("The 'warn' method is deprecated, "
1539 "use 'warning' instead", DeprecationWarning, 2)
1540 self.warning(msg, *args, **kwargs)
1541
1542 def error(self, msg, *args, **kwargs):
1543 """

Callers 15

node_entry.mjsFile · 0.45
readWriteHelperFunction · 0.45
src.mjsFile · 0.45
fileMethod · 0.45
wrapperFunction · 0.45
patternMethod · 0.45
get_methodsMethod · 0.45
fallback_getpassFunction · 0.45
getpreferredencodingFunction · 0.45
utcfromtimestampMethod · 0.45
utcnowMethod · 0.45
_as_int2Function · 0.45

Calls 1

warningMethod · 0.95

Tested by

no test coverage detected