summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/idlelib/PyShell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 0ee70d9..5b920b2 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -834,8 +834,8 @@ class PyShell(OutputWindow):
closing = False
def set_warning_stream(self, stream):
- global warning_stream
- warning_stream = stream
+ global warning_stream
+ warning_stream = stream
def get_warning_stream(self):
return warning_stream