β Is possible to make a function accept only a list as argument? Like some_function(['this', 'that'])
β Can you tell me how? thanks
β Yes, because with different symbols workπ
β Throw an exception when isinstance(arg, list) returns false
β And just let python error
β And tell people that it needs a list Β―\_(γ)_/Β―