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

Function open

Lib/_pyio.py:43–226  ·  view source on GitHub ↗

r"""Open file and return a stream. Raise IOError upon failure. file is either a text or byte string giving the name (and the path if the file isn't in the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descrip

(file, mode="r", buffering=-1,
         encoding=None, errors=None,
         newline=None, closefd=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__new__Method · 0.70

Calls 7

setFunction · 0.85
BufferedRandomClass · 0.85
BufferedWriterClass · 0.85
BufferedReaderClass · 0.85
TextIOWrapperClass · 0.85
isattyMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected