title: GET() takes 1 positional argument but 2 were given
body: <p>I am new to <code>web.py</code> and I tried making a simple application where I retrieve a HTML file and display it.</p>
  <p>Here is my complete code:</p>
  <pre><code>import web
  
  render = web.template.render('templates/')
  
  urls = (
      '/(.*)', 'index'
  )
  
  class index:
      def GET(self):
          return render.index()
  
  if __name__ == &quot;__main__&quot;:
      app = web.application(urls, globals())
      app.run()
  </code></pre>
  <p>When I run this, I get the error message:</p>
  <blockquote>
  <p><code>&lt;class 'TypeError'&gt;</code> at /</p>
  <p>GET() takes 1 positional argument but 2 were given</p>
  </blockquote>
  <p>Whenever I add a random parameter to the GET function, the page is able to function, but otherwise not. It would be great if someone could point out what is going wrong here.</p>
  <p>Thanks in advance.</p>