summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/texi2html.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-08-14 09:23:10 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-08-14 09:23:10 (GMT)
commit967f1e3b85ac239d6ae9900a62304392682131a7 (patch)
tree8e39c3f8fa0612742e71b1ac580c2729cf928195 /Tools/scripts/texi2html.py
parent5424df2f7ee8cc0e8d177f0c035120a24addd455 (diff)
downloadcpython-967f1e3b85ac239d6ae9900a62304392682131a7.zip
cpython-967f1e3b85ac239d6ae9900a62304392682131a7.tar.gz
cpython-967f1e3b85ac239d6ae9900a62304392682131a7.tar.bz2
Remove string.{letters,lowercase,uppercase}.
Diffstat (limited to 'Tools/scripts/texi2html.py')
-rwxr-xr-xTools/scripts/texi2html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/texi2html.py b/Tools/scripts/texi2html.py
index e5e292d..37d6e91 100755
--- a/Tools/scripts/texi2html.py
+++ b/Tools/scripts/texi2html.py
@@ -2000,7 +2000,7 @@ def fixfunnychars(addr):
def increment(s):
if not s:
return '1'
- for sequence in string.digits, string.lowercase, string.uppercase:
+ for sequence in string.digits, string.ascii_lowercase, string.ascii_uppercase:
lastc = s[-1]
if lastc in sequence:
i = sequence.index(lastc) + 1