Why does the NewType function not check for the correct variable type?

前端 未结 0 967
日久生厌
日久生厌 2021-01-30 12:12

I am practicing clean code and annotations in my python code. I do not get what is the functionality of defining NewType objects if their type is not being checked.

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