【自定义数据迭代器报错TypeError: object.__new__() takes exactly one argument (the type to instantiate)】

  • TypeError: object.new() takes exactly one argument (the type to instantiate)
  • 原因:init拼写错误成int

你可能感兴趣的:(错误异常处理,python)