title: __init__ arguments in Python/Kivy
body: <p>I'm trying to call an <strong>init</strong> method, and it's parents in a function.  I'm probably doing something obviously dumb, but I can't figure it out.  I get an error when I have this code:</p>
  
  <pre><code>from kivy.app import App
  from kivy.uix.widget import Widget
  from kivy.uix.button import Button
  from kivy.properties import NumericProperty, ReferenceListProperty, ObjectProperty, ListProperty
  from kivy.clock import Clock
  from kivy.graphics import Color
  
  class FieldCommand(Widget):
      def __init__(self, **kwargs):
          super(FieldCommand, self).__init__(**kwargs)
          self.myBoard = Board(col=2, rows=2)
          for c in range(4):
              self.add_widget(Button(text = c))
  
  class Board(Widget):
      def __init__(self, **kwargs):
          super(Board, self).__init__(**kwargs)
  
  
  
  class FieldCommandApp(App):
      def build(self):
          return FieldCommand()
  
  
  if __name__ == '__main__':
      FieldCommandApp().run()
  </code></pre>
  
  <p>Specifically, my error reads:</p>
  
  <pre><code>File "/Users/.../PycharmProjects/FieldCommand/venv/lib/python3.7/site-packages/kivy/uix/widget.py", line 350, in __init__
       super(Widget, self).__init__(**kwargs)
     File "kivy/_event.pyx", line 243, in kivy._event.EventDispatcher.__init__
   TypeError: object.__init__() takes exactly one argument (the instance to initialize
  </code></pre>
  
  <p>)
  I was following the example <a href="https://kivy.org/doc/stable/examples/gen__demo__kivycatalog__main__py.html" rel="nofollow noreferrer">here</a>:</p>
  
  <pre><code>class Container(BoxLayout):
  
  
      def __init__(self, **kwargs):
          super(Container, self).__init__(**kwargs)
          self.previous_text = open(self.kv_file).read()
          parser = Parser(content=self.previous_text)
          widget = Factory.get(parser.root.name)()
          Builder._apply_rule(widget, parser.root, parser.root)
          self.add_widget(widget)
  </code></pre>
  
  <p>Why is my application getting an error?</p>