Searched refs:nullcontext (Results 1 – 5 of 5) sorted by relevance
659 class nullcontext(AbstractContextManager): class
159 .. function:: nullcontext(enter_result=None)171 cm = contextlib.nullcontext()183 cm = nullcontext(file_or_path)
309 with nullcontext(c) as c_in:
434 Added *nullcontext* no-op context manager to contextlib. This provides a
823 The new :func:`~contextlib.nullcontext` is a simpler and faster no-op