diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-09-17 07:09:08 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-09-17 07:09:08 (GMT) |
| commit | e4818f693749af358b1a2b3f96853c756f80856e (patch) | |
| tree | 06ae031c6752e46e1c4bde93749d08e718d946f8 /Lib/idlelib/IOBinding.py | |
| parent | e787bce79c016cf7b9e743a6230ceb8e97b4a938 (diff) | |
| download | cpython-e4818f693749af358b1a2b3f96853c756f80856e.zip cpython-e4818f693749af358b1a2b3f96853c756f80856e.tar.gz cpython-e4818f693749af358b1a2b3f96853c756f80856e.tar.bz2 | |
Remove the use of non-existing re.ASCII.
(fixes a regression in 3d46ef0c62c5, issue #18873)
Diffstat (limited to 'Lib/idlelib/IOBinding.py')
| -rw-r--r-- | Lib/idlelib/IOBinding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index f5665b9..2eae11b 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -71,7 +71,7 @@ else: encoding = encoding.lower() -coding_re = re.compile(r'^[ \t\f]*#.*coding[:=][ \t]*([-\w.]+)', re.ASCII) +coding_re = re.compile(r'^[ \t\f]*#.*coding[:=][ \t]*([-\w.]+)') class EncodingMessage(SimpleDialog): "Inform user that an encoding declaration is needed." |
