From 9d72bb452bced3a100f07f8a9e30c4495a9ec41a Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 17 Apr 2007 08:48:32 +0000 Subject: Remove functions in string module that are also string methods. Also remove: * all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used --- Lib/idlelib/MultiCall.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/idlelib/MultiCall.py') diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py index 1bb15768536..61730b8b2e0 100644 --- a/Lib/idlelib/MultiCall.py +++ b/Lib/idlelib/MultiCall.py @@ -31,7 +31,6 @@ Each function will be called at most once for each event. import sys import os -import string import re import Tkinter @@ -244,7 +243,7 @@ def _parse_sequence(sequence): """ if not sequence or sequence[0] != '<' or sequence[-1] != '>': return None - words = string.split(sequence[1:-1], '-') + words = '-'.split(sequence[1:-1]) modifiers = 0 while words and words[0] in _modifier_names: -- cgit v1.2.3