diff --git a/Lib/idlelib/AutoExpand.py b/Lib/idlelib/AutoExpand.py index c50e52a14f8..88018305fc2 100644 --- a/Lib/idlelib/AutoExpand.py +++ b/Lib/idlelib/AutoExpand.py @@ -13,7 +13,7 @@ class AutoExpand: ]), ] - wordchars = string.letters + string.digits + "_" + wordchars = string.ascii_letters + string.digits + "_" def __init__(self, editwin): self.text = editwin.text