summaryrefslogtreecommitdiffstats
path: root/Doc/tools/support.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-10-16 15:30:17 (GMT)
committerFred Drake <fdrake@acm.org>2002-10-16 15:30:17 (GMT)
commit071972e426c9782611bd5b66f036d35d809f7ee4 (patch)
treeec6f4f3a441a7365759dd13566c334b3d03ad97f /Doc/tools/support.py
parent06912b7702e46a1a31749b31911be4d44ccbdf27 (diff)
downloadcpython-071972e426c9782611bd5b66f036d35d809f7ee4.zip
cpython-071972e426c9782611bd5b66f036d35d809f7ee4.tar.gz
cpython-071972e426c9782611bd5b66f036d35d809f7ee4.tar.bz2
Use string methods.
Diffstat (limited to 'Doc/tools/support.py')
-rw-r--r--Doc/tools/support.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/tools/support.py b/Doc/tools/support.py
index bc17c6e..b96c4dd 100644
--- a/Doc/tools/support.py
+++ b/Doc/tools/support.py
@@ -8,7 +8,6 @@ __version__ = '$Revision$'
import getopt
-import string
import sys
@@ -71,7 +70,7 @@ class Options:
self.args = self.args + args
for opt, val in opts:
if opt in ("-a", "--address"):
- val = string.strip(val)
+ val = val.strip()
if val:
val = "<address>\n%s\n</address>\n" % val
self.variables["address"] = val