]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
the default class attr is needed!
authorKurt B. Kaiser <kbk@shore.net>
Wed, 10 Oct 2007 00:36:38 +0000 (00:36 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 10 Oct 2007 00:36:38 +0000 (00:36 +0000)
Lib/idlelib/IOBinding.py

index 5a1599515a43b99a6f2976d9bb18e50d39dbd5dc..6ab4db0f90150cb19b969ae67886e16492e03962 100644 (file)
@@ -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: