First of all the use case is when for example we have UserDefined class and my 
function or another class can only handle instances of the UserDefined class. 
Second of all why not add a built-in type check decorator then?
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/D6SETA5RVNAWKEYI7Z6HK6D7YIPG7QVJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to