[Python-Dev] Adding Type[C] to PEP 484
Sven R. Kunze
srkunze at mail.de
Fri May 20 06:56:24 EDT 2016
More information about the Python-Dev mailing list
Fri May 20 06:56:24 EDT 2016
- Previous message (by thread): [Python-Dev] Adding Type[C] to PEP 484
- Next message (by thread): [Python-Dev] Adding Type[C] to PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 15.05.2016 19:30, Guido van Rossum wrote: > Right. I still have no good intuition for what Type[BasicUser, > ProUser] would mean so I think you should be required to use the > Union, which is clear. Type[] should only allow one parameter. Type[A, B] reminds me of isinstance(obj, (A, B)). Sven
- Previous message (by thread): [Python-Dev] Adding Type[C] to PEP 484
- Next message (by thread): [Python-Dev] Adding Type[C] to PEP 484
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list