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

Function idle_showwarning

Lib/idlelib/PyShell.py:69–84  ·  view source on GitHub ↗

Show Idle-format warning (after replacing warnings.showwarning). The differences are the formatter called, the file=None replacement, which can be None, the capture of the consequence AttributeError, and the output of a hard-coded prompt.

(
        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 2

idle_formatwarningFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected