summaryrefslogtreecommitdiffstats
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/idle/PyShell.py')
-rw-r--r--Tools/idle/PyShell.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py
index 03b4684..2c471de 100644
--- a/Tools/idle/PyShell.py
+++ b/Tools/idle/PyShell.py
@@ -439,7 +439,7 @@ class PyShell(OutputWindow):
def ispythonsource(self, filename):
# Override this so EditorWindow never removes the colorizer
- return 1
+ return True
def short_title(self):
return self.shell_title
@@ -482,7 +482,7 @@ class PyShell(OutputWindow):
return line
def isatty(self):
- return 1
+ return True
def cancel_callback(self, event):
try:
@@ -685,7 +685,7 @@ class PseudoFile:
pass
def isatty(self):
- return 1
+ return True
usage_msg = """\