Skip to content

Commit

Permalink
OPT: add the docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Mar 14, 2023
1 parent b917993 commit de692d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions combadge/support/shared/contextlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@

@asynccontextmanager
async def asyncnullcontext(enter_result: _T) -> AsyncIterator[_T]:
"""Compatibility with the older Python where `nullcontext` does not support async."""
yield enter_result

0 comments on commit de692d9

Please sign in to comment.