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

Function _warn

Lib/idlelib/config.py:772–779  ·  view source on GitHub ↗
(msg, *key)

Source from the content-addressed store, hash-verified

770
771_warned = set()
772def _warn(msg, *key):
773 key = (msg,) + key
774 if key not in _warned:
775 try:
776 print(msg, file=sys.stderr)
777 except OSError:
778 pass
779 _warned.add(key)
780
781
782class ConfigChanges(dict):

Callers 13

GetOptionMethod · 0.70
GetThemeDictMethod · 0.70
GetCoreKeysMethod · 0.70
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50
__del__Method · 0.50

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…