結果 : python raise error if wrong type