Python: fastest way to write dispatcher classes?

前端 未结 0 1716
甜味超标
甜味超标 2021-01-23 20:21

Say I have a class with a method .get() that is meant to be generic, i.e. it does different things dependent on the type of the argument.

I have many possibl

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