Lines Matching refs:newlines
151 newline is a string controlling how universal newlines works (it only
155 * On input, if newline is None, universal newlines mode is
547 files, the newlines argument to open can be used to select the line
1602 # don't translate newlines (\r\n <=> \n)
1882 def newlines(self):
1902 r"""Codec used when reading a file in universal newlines mode. It wraps
1904 records the types of newlines encountered. When used with
1931 # Record which newlines are read
1974 def newlines(self):
1997 handling of line endings. If it is None, universal newlines is
2657 def newlines(self):
2658 return self._decoder.newlines if self._decoder else None
2673 # Issue #5645: make universal newlines semantics the same as in the