diff options
Diffstat (limited to 'Tools/idle')
-rw-r--r-- | Tools/idle/AutoExpand.py | 2 | ||||
-rw-r--r-- | Tools/idle/UndoDelegator.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tools/idle/AutoExpand.py b/Tools/idle/AutoExpand.py index 09f34b3..40d39f3 100644 --- a/Tools/idle/AutoExpand.py +++ b/Tools/idle/AutoExpand.py @@ -21,7 +21,7 @@ class AutoExpand: ]), ] - wordchars = string.letters + string.digits + "_" + wordchars = string.ascii_letters + string.digits + "_" def __init__(self, editwin): self.text = editwin.text diff --git a/Tools/idle/UndoDelegator.py b/Tools/idle/UndoDelegator.py index ec7af81..3ef14c3 100644 --- a/Tools/idle/UndoDelegator.py +++ b/Tools/idle/UndoDelegator.py @@ -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: |