mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
This commit is contained in:
parent
ff11334927
commit
9d72bb452b
69 changed files with 396 additions and 2113 deletions
|
@ -19,7 +19,6 @@ configuration problem notification and resolution.
|
|||
"""
|
||||
import os
|
||||
import sys
|
||||
import string
|
||||
import macosxSupport
|
||||
from ConfigParser import ConfigParser, NoOptionError, NoSectionError
|
||||
|
||||
|
@ -632,7 +631,7 @@ class IdleConf:
|
|||
menuItem='' #make these empty
|
||||
helpPath='' #so value won't be added to list
|
||||
else: #config entry contains ';' as expected
|
||||
value=string.split(value,';')
|
||||
value=value.split(';')
|
||||
menuItem=value[0].strip()
|
||||
helpPath=value[1].strip()
|
||||
if menuItem and helpPath: #neither are empty strings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue