From 79e75e1916c33ee8e3de4c1b6c38221f2dba315c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 20 Jul 2001 19:05:50 +0000 Subject: Use string.ascii_letters instead of string.letters (SF bug #226706). --- Tools/scripts/fixheader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/scripts/fixheader.py') diff --git a/Tools/scripts/fixheader.py b/Tools/scripts/fixheader.py index 9b65a44fb0..ba2e0c503b 100755 --- a/Tools/scripts/fixheader.py +++ b/Tools/scripts/fixheader.py @@ -29,7 +29,7 @@ def process(file): sys.stderr.write('Processing %s ...\n' % file) magic = 'Py_' for c in file: - if c in string.letters + string.digits: + if c in string.ascii_letters + string.digits: magic = magic + string.upper(c) else: magic = magic + '_' sys.stdout = f -- cgit v1.2.1