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

Function NamedTemporaryFile

Lib/tempfile.py:434–464  ·  view source on GitHub ↗

Create and return a temporary file. Arguments: 'prefix', 'suffix', 'dir' -- as for mkstemp. 'mode' -- the mode argument to os.fdopen (default "w+b"). 'bufsize' -- the buffer size argument to os.fdopen (default -1). 'delete' -- whether the file is deleted on close (default True).

(mode='w+b', bufsize=-1, suffix="",
                       prefix=template, dir=None, delete=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

gettempdirFunction · 0.85
_mkstemp_innerFunction · 0.85

Tested by

no test coverage detected