summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-10-10 00:36:38 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-10-10 00:36:38 (GMT)
commit8d5c8b525e04553216976b09ce238813e57af290 (patch)
treeb92e4bd0a80796173b28efc1cc2a684022d81b74 /Lib/idlelib
parent49f21743beba32597d95ec217a8e434aaab45024 (diff)
downloadcpython-8d5c8b525e04553216976b09ce238813e57af290.zip
cpython-8d5c8b525e04553216976b09ce238813e57af290.tar.gz
cpython-8d5c8b525e04553216976b09ce238813e57af290.tar.bz2
the default class attr is needed!
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/IOBinding.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py
index 5a15995..6ab4db0 100644
--- a/Lib/idlelib/IOBinding.py
+++ b/Lib/idlelib/IOBinding.py
@@ -242,6 +242,7 @@ class IOBinding:
eol = r"(\r\n)|\n|\r" # \r\n (Windows), \n (UNIX), or \r (Mac)
eol_re = re.compile(eol)
+ eol_convention = os.linesep # default
def loadfile(self, filename):
try: