summaryrefslogtreecommitdiffstats
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-05 13:51:14 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-05 13:51:14 (GMT)
commitfa6013cff050a0cfb4134b0a10f3c79b2621b2f8 (patch)
tree9c2fa43420696fdc308ae08c8179942e03d6bfec /Tools/idle/PyShell.py
parent8ff4cd75129f9f00d447adccc1b01d2caa909cb6 (diff)
downloadcpython-fa6013cff050a0cfb4134b0a10f3c79b2621b2f8.zip
cpython-fa6013cff050a0cfb4134b0a10f3c79b2621b2f8.tar.gz
cpython-fa6013cff050a0cfb4134b0a10f3c79b2621b2f8.tar.bz2
Don't emit 8 lines of (c) information at startup -- use the same text
as main.c.
Diffstat (limited to 'Tools/idle/PyShell.py')
-rw-r--r--Tools/idle/PyShell.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py
index cbd7d66..0bdb059 100644
--- a/Tools/idle/PyShell.py
+++ b/Tools/idle/PyShell.py
@@ -429,10 +429,13 @@ class PyShell(OutputWindow):
def short_title(self):
return self.shell_title
+ COPYRIGHT = \
+ 'Type "copyright", "credits" or "license" for more information.'
+
def begin(self):
self.resetoutput()
self.write("Python %s on %s\n%s\nIDLE %s -- press F1 for help\n" %
- (sys.version, sys.platform, sys.copyright,
+ (sys.version, sys.platform, self.COPYRIGHT,
idlever.IDLE_VERSION))
try:
sys.ps1