mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Use string.ascii_letters instead of string.letters (SF bug #226706).
This commit is contained in:
parent
f69868f304
commit
79e75e1916
15 changed files with 17 additions and 18 deletions
|
|
@ -251,7 +251,7 @@ class InsertCommand(Command):
|
|||
self.chars = self.chars + cmd.chars
|
||||
return 1
|
||||
|
||||
alphanumeric = string.letters + string.digits + "_"
|
||||
alphanumeric = string.ascii_letters + string.digits + "_"
|
||||
|
||||
def classify(self, c):
|
||||
if c in self.alphanumeric:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue