commit | 071972e426c9782611bd5b66f036d35d809f7ee4 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Wed Oct 16 15:30:17 2002 +0000 |
committer | Fred Drake <fdrake@acm.org> | Wed Oct 16 15:30:17 2002 +0000 |
tree | ec6f4f3a441a7365759dd13566c334b3d03ad97f | |
parent | 06912b7702e46a1a31749b31911be4d44ccbdf27 [diff] [blame] |
Use string methods.
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 @@ import getopt -import string import sys @@ -71,7 +70,7 @@ 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