How to enforce that subclass of abstract class should define a particular inner class in Python

后端 未结 0 1210
难免孤独
难免孤独 2021-01-07 14:30

I have an abstract class from which subclasses will derive. The concrete implementations should include within them an Enum class which holds a set of named constants.

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