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). --- Lib/ntpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/ntpath.py') diff --git a/Lib/ntpath.py b/Lib/ntpath.py index 13de59bdca..d81e8fb645 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -334,7 +334,7 @@ def expandvars(path): if '$' not in path: return path import string - varchars = string.letters + string.digits + '_-' + varchars = string.ascii_letters + string.digits + '_-' res = '' index = 0 pathlen = len(path) -- cgit v1.2.1