Implement support for PEP 646 in typing.py.