projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c90cecd
)
Py < 2.6 fix.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Wed, 3 Nov 2010 09:35:05 +0000
(
02:35
-0700)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Wed, 3 Nov 2010 09:35:05 +0000
(
02:35
-0700)
Cython/Utils.py
patch
|
blob
|
history
diff --git
a/Cython/Utils.py
b/Cython/Utils.py
index d319ac063e12bf745f0242eed25a148fe7a50fb1..06c2295dc033fe9340a6c6c569f30e089b9fdc27 100644
(file)
--- a/
Cython/Utils.py
+++ b/
Cython/Utils.py
@@
-115,7
+115,7
@@
class NormalisedNewlineStream(object):
self.close = stream.close
self.encoding = getattr(stream, 'encoding', 'UTF-8')
- def read(self, count):
+ def read(self, count
=-1
):
data = self._read(count)
if u'\r' not in data:
return data