Skip to content
Snippets Groups Projects
Commit a0791bfd authored by Manuel Jacob's avatar Manuel Jacob
Browse files

util: enhance `nullcontextmanager` to be able to return __enter__ result

This makes its functionality and signature equivalent to Python 3.7’s
contextlib.nullcontext().
parent aea246bc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment