MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / Py_UniversalNewlineFread

Function Py_UniversalNewlineFread

Objects/fileobject.c:2810–2880  ·  view source on GitHub ↗

** Py_UniversalNewlineFread is an fread variation that understands ** all of \r, \n and \r\n conventions. ** The stream should be opened in binary mode. ** fobj must be a PyFileObject. In this case there ** is no readahead but in stead a flag is used to skip a following ** \n on the next read. Also, if the file is open in binary mode ** the whole conversion is skipped. Finally, the routine keeps t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

file_readFunction · 0.85
file_readintoFunction · 0.85
file_readlinesFunction · 0.85
readaheadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected