Which exception should I raise on bad/illegal argument combinations in Python?

前端 未结 7 1356
北荒
北荒 2020-12-02 04:09

I was wondering about the best practices for indicating invalid argument combinations in Python. I\'ve come across a few situations where you have a function like so:

<
7条回答
提交回复
热议问题