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

Function TemporaryFile

Lib/tempfile.py:472–499  ·  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). The file is created as mkstemp() would do it.

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

rolloverMethod · 0.85

Calls 4

gettempdirFunction · 0.85
_mkstemp_innerFunction · 0.85
unlinkMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected