Use string.ascii_letters instead of string.letters (SF bug #226706).

This commit is contained in:
Fred Drake 2001-07-20 19:05:50 +00:00
parent f69868f304
commit 79e75e1916
15 changed files with 17 additions and 18 deletions

View file

@ -825,7 +825,7 @@ def identify(str):
if not str:
return "_empty_ae_name"
rv = ''
ok = string.letters + '_'
ok = string.ascii_letters + '_'
ok2 = ok + string.digits
for c in str:
if c in ok: