MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / opener

Function opener

tools/python-3.11.9-amd64/Lib/tempfile.py:575–578  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

573
574 name = None
575 def opener(*args):
576 nonlocal name
577 fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
578 return fd
579 try:
580 file = _io.open(dir, mode, buffering=buffering,
581 newline=newline, encoding=encoding, errors=errors,

Callers 3

__init__Method · 0.85
test_is_block_openerMethod · 0.85
open_with_authFunction · 0.85

Calls 4

_mkstemp_innerFunction · 0.85
openMethod · 0.45
unlinkMethod · 0.45
closeMethod · 0.45

Tested by 1

test_is_block_openerMethod · 0.68