[Python-checkins] CVS: python/dist/src/Lib code.py,1.11,1.12

Guido van Rossum python-dev@python.org
Sun, 14 Jan 2001 15:04:24 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv25988

Modified Files:
	code.py 
Log Message:
Make the copyright message the same as for the "real" interpreter.


Index: code.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/code.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** code.py	2001/01/13 22:10:41	1.11
--- code.py	2001/01/14 23:04:22	1.12
***************
*** 217,223 ****
          except AttributeError:
              sys.ps2 = "... "
          if banner is None:
              self.write("Python %s on %s\n%s\n(%s)\n" %
!                        (sys.version, sys.platform, sys.copyright,
                          self.__class__.__name__))
          else:
--- 217,224 ----
          except AttributeError:
              sys.ps2 = "... "
+         cprt = 'Type "copyright", "credits" or "license" for more information.'
          if banner is None:
              self.write("Python %s on %s\n%s\n(%s)\n" %
!                        (sys.version, sys.platform, cprt,
                          self.__class__.__name__))
          else: