String method conversion.

This commit is contained in:
Eric S. Raymond 2001-02-09 08:56:30 +00:00
parent 141971f22a
commit 6b71e747b1
5 changed files with 14 additions and 18 deletions

View file

@ -6,7 +6,6 @@
import sys
import string
import traceback
from codeop import compile_command
@ -260,7 +259,7 @@ class InteractiveConsole(InteractiveInterpreter):
"""
self.buffer.append(line)
source = string.join(self.buffer, "\n")
source = "\n".join(self.buffer)
more = self.runsource(source, self.filename)
if not more:
self.resetbuffer()