title: TypeError: Function takes 1 positional argument but 2 were given kivy python
body: <p>I tried to add instance after the self, but still not working</p>
  <p>this is the error message</p>
  <pre><code>File &quot;kivy\_event.pyx&quot;, line 703, in kivy._event.EventDispatcher.dispatch
  
  File &quot;kivy\_event.pyx&quot;, line 1214, in kivy._event.EventObservers.dispatch
  
  File &quot;kivy\_event.pyx&quot;, line 1138, in kivy._event.EventObservers._dispatch
  
  TypeError: sss() takes 1 positional argument but 2 were given
  </code></pre>
  <p>here is the full kivy python code</p>
  <pre><code>import kivy
  
  from kivy.uix.widget import Widget
  
  from kivy.properties import ObjectProperty
  
  from kivy.app import App
  
  from kivy.uix.label import Label
  
  from kivy.uix.gridlayout import GridLayout
  
  from kivy.uix.textinput import TextInput
  
  from kivy.uix.button import Button
  
  from kivy.uix.screenmanager import ScreenManager, Screen
  
  
  
  class Touch(Widget):
  
      def __init__(self, **kwargs):
  
          super(Touch, self).__init__(**kwargs)
  
          self.cols = 1
  
          self.Rc1 = Button(text=&quot;Submit&quot;, font_size=40)
  
          self.Rc1.bind(on_press=self.sss)
  
          self.add_widget(self.Rc1)
  
  
      def sss(self):
  
          self.Rc1 = Button(text=&quot;Push Me !&quot;,
  
                            font_size=&quot;20sp&quot;,
  
                            background_color=[1, 0, 0, 1],
  
                            color=(1, 1, 1, 1),
  
                            size=(32, 32),
  
                            size_hint=(.2, .2),
  
                            pos=(300, 250))
  
  class MyApp(App):
  
      def build(self):
  
          return Touch()
  
  
  if __name__ == &quot;__main__&quot;:
  
      MyApp().run()
  </code></pre>