]> granicus.if.org Git - python/commitdiff
Don't emit 8 lines of (c) information at startup -- use the same text
authorGuido van Rossum <guido@python.org>
Tue, 5 Sep 2000 13:51:14 +0000 (13:51 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 5 Sep 2000 13:51:14 +0000 (13:51 +0000)
as main.c.

Tools/idle/PyShell.py

index cbd7d66bee2ebbaeade05cda127d5158ef3c2142..0bdb05907fd08b6f9580f7731fecab08e900ba32 100644 (file)
@@ -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