Why won't my python class inherit from another class?

后端 未结 0 1152
忘掉有多难
忘掉有多难 2020-12-13 09:31
class Media_Work(object):

  def __init__(self):

    _id: int = 0
    _IdDict: {} 
    _titleDict: {}

class Poem(Media_Work):

  def __init__(self, id, title, auth         


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