Brett Cannon added the comment: I'll add some tests and a note that this was added in Python 3.6 and is provisional along with the typing module. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue26396> _______________________________________