Assertion: context | /r/HasProperty | exited
Facets:
Source sentences:
text: Context managers work by calling __enter__() when the with context is entered, binding the return value to the target of as , and calling __exit__() when the context is exited.