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

Method set_warning_stream

Lib/idlelib/pyshell.py:1032–1034  ·  view source on GitHub ↗
(self, stream)

Source from the content-addressed store, hash-verified

1030 _stop_readline_flag = False
1031
1032 def set_warning_stream(self, stream):
1033 global warning_stream
1034 warning_stream = stream
1035
1036 def get_warning_stream(self):
1037 return warning_stream

Callers 1

checksyntaxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected