[Python-ideas] Accepting a function argument of a particular type specified by the user