➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients JelleZijlstra, gvanrossum, rhettinger
Date 2022-02-07.17:27:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
On a related note, is this the correct way to annotate __exit__?


Exc = TypeVar('Exc', bound=Exception)

def __exit__(self, exctype: Optional[Type[Exc]], excinst: Optional[Exc], exctb: Any) -> None:
History
Date User Action Args
2022-02-07 17:27:50rhettingersetrecipients: + rhettinger, gvanrossum, JelleZijlstra
2022-02-07 17:27:50rhettingersetmessageid: <[email protected]>
2022-02-07 17:27:50rhettingerlinkissue46669 messages
2022-02-07 17:27:50rhettingercreate