Mailing List Archive

CVS: python/dist/src/Lib code.py,1.19,1.20
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv19636

Modified Files:
code.py
Log Message:
make default banner match what the real interpreter displays


Index: code.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/code.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** code.py 25 Mar 2002 21:44:07 -0000 1.19
--- code.py 25 Mar 2002 22:04:23 -0000 1.20
***************
*** 217,221 ****
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" %
--- 217,221 ----
except AttributeError:
sys.ps2 = "... "
! cprt = 'Type "help", "copyright", "credits" or "license" for more information.'
if banner is None:
self.write("Python %s on %s\n%s\n(%s)\n" %