Guido van Rossum <[email protected]> added the comment:
Go for it! I assume that this will be pretty simple, right? TypeGuard[X] should show up in __annotations__ as exactly that. It can be implemented in pure Python. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue43766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
