Skip to content

Commit

Permalink
an empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Jan 11, 2024
1 parent 1b386da commit 47c550c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exception_escaping/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async def async_wrapper(*args: Any, **kwargs: Any) -> Any:
def __enter__(self) -> 'Wrapper':
if self.default_return is not None:
raise SetDefaultReturnValueForDecoratorError('You cannot set a default value for the context manager. This is only possible for the decorator.')

return self

def __exit__(self, exception_type: Optional[Type[BaseException]], exception_value: Optional[BaseException], traceback: Optional[TracebackType]) -> bool:
Expand Down

0 comments on commit 47c550c

Please sign in to comment.