python subclassing: TypeError object.__new__() takes no parameters

前端 未结 1 1990
萌比男神i
萌比男神i 2021-01-25 20:41

Ok I\'m stumped again! This should be easy though ;-)

I\'m trying to subclass the pytables class tables.IsDefinition, as follows:

import tab         


        
相关标签:
1条回答
  • 2021-01-25 21:11

    In case anyone else lands here, the answer is that IsDescription is a "metaclass". More information can be found on this thread

    0 讨论(0)
提交回复
热议问题