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

Eric S. Raymond esr@users.sourceforge.net
Fri, 09 Feb 2001 00:56:32 -0800


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

Modified Files:
	code.py 
Log Message:
String method conversion.


Index: code.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/code.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** code.py	2001/01/20 19:54:20	1.14
--- code.py	2001/02/09 08:56:30	1.15
***************
*** 7,11 ****
  
  import sys
- import string
  import traceback
  from codeop import compile_command
--- 7,10 ----
***************
*** 261,265 ****
          """
          self.buffer.append(line)
!         source = string.join(self.buffer, "\n")
          more = self.runsource(source, self.filename)
          if not more:
--- 260,264 ----
          """
          self.buffer.append(line)
!         source = "\n".join(self.buffer)
          more = self.runsource(source, self.filename)
          if not more: