MCPcopy Index your code
hub / github.com/RustPython/RustPython / warning

Method warning

Lib/logging/__init__.py:1921–1925  ·  view source on GitHub ↗

Delegate a warning call to the underlying logger.

(self, msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

1919 self.log(INFO, msg, *args, **kwargs)
1920
1921 def warning(self, msg, *args, **kwargs):
1922 """
1923 Delegate a warning call to the underlying logger.
1924 """
1925 self.log(WARNING, msg, *args, **kwargs)
1926
1927 def warn(self, msg, *args, **kwargs):
1928 warnings.warn("The 'warn' method is deprecated, "

Callers 2

warnMethod · 0.95
test_flatMethod · 0.95

Calls 1

logMethod · 0.95

Tested by 1

test_flatMethod · 0.76