A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-May/144668.html below:

[Python-Dev] Adding Type[C] to PEP 484

[Python-Dev] Adding Type[C] to PEP 484 [Python-Dev] Adding Type[C] to PEP 484Sven R. Kunze srkunze at mail.de
Fri May 20 06:56:24 EDT 2016
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4