Guido van Rossum added the comment:

Confirmed. The failure is because Pattern is _TypeAlias, which is not a type. 
But it should be allowed. I'll think of something. (Does mypy accept this?)

----------
nosy: +gvanrossum

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25390>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to