Python: Why passing different type of argument into type-defined function don't raise any error?

后端 未结 0 1359
难免孤独
难免孤独 2020-12-18 06:14

In Python, we can define the type of arguments and return data. I just wonder why the code below does not raise any exceptions.

There are two violations here. I am pa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题