Create a keyword in python instead of inheriting from a class

前端 未结 0 1551
借酒劲吻你
借酒劲吻你 2020-12-18 14:54

Is it possible to create a keyword in python that\'s equivalent to inheriting a class?

So given class:

class Hello:
  pass

I could wri

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