accurate type for __exit__

This commit is contained in:
David Lord 2022-03-15 08:44:09 -07:00
parent cb7cd1e79b
commit faaa5594b2
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 14 additions and 3 deletions

View file

@ -50,6 +50,8 @@ Unreleased
- Relax typing for ``errorhandler`` to allow the user to use more
precise types and decorate the same function multiple times.
:issue:`4095, 4295, 4297`
- Fix typing for ``__exit__`` methods for better compatibility with
``ExitStack``. :issue:`4474`
Version 2.0.3