MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _showwarning

Function _showwarning

Lib/logging/__init__.py:1695–1711  ·  view source on GitHub ↗

Implementation of showwarnings which redirects to logging, which will first check to see if the file parameter is None. If a file is specified, it will delegate to the original warnings implementation of showwarning. Otherwise, it will call warnings.formatwarning and will log the re

(message, category, filename, lineno, file=None, line=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

getLoggerFunction · 0.85
NullHandlerClass · 0.85
addHandlerMethod · 0.80
warningMethod · 0.45

Tested by

no test coverage detected