diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-20 19:05:50 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-20 19:05:50 +0000 |
commit | 79e75e1916c33ee8e3de4c1b6c38221f2dba315c (patch) | |
tree | 96e3e40993ba8b5e4123470493e36797b3b10fdd /Lib/ntpath.py | |
parent | f69868f304cb2198e4f43e73d5d8873d7222cda8 (diff) | |
download | cpython-git-79e75e1916c33ee8e3de4c1b6c38221f2dba315c.tar.gz |
Use string.ascii_letters instead of string.letters (SF bug #226706).
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r-- | Lib/ntpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |