diff options
author | Mark Florisson <markflorisson88@gmail.com> | 2011-07-24 15:15:16 +0200 |
---|---|---|
committer | Mark Florisson <markflorisson88@gmail.com> | 2011-09-30 14:55:17 +0100 |
commit | aad49345e18a162ab0caa332b5379729b76f90fe (patch) | |
tree | b1a1a2d2724f01310316924053c393d6dbf4ad6f /Cython/Utils.py | |
parent | f0b5aafaf51227f84291733e39e1113a9028752e (diff) | |
download | cython-aad49345e18a162ab0caa332b5379729b76f90fe.tar.gz |
Change memview access and packing modifier constants
Diffstat (limited to 'Cython/Utils.py')
-rw-r--r-- | Cython/Utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Cython/Utils.py b/Cython/Utils.py index 4a7e8783b..5dc2d1282 100644 --- a/Cython/Utils.py +++ b/Cython/Utils.py @@ -131,8 +131,7 @@ class NormalisedNewlineStream(object): content.append(data) data = self.read(0x1000) - # TODO: FIXME: Shouldn't this return lines with their newline appended?? - return u''.join(content).split(u'\n') + return u''.join(content).splitlines(True) io = None if sys.version_info >= (2,6): |