title: In python, What does it mean if I assign a variable to a method?
body: <p>Reading the CherryPy tutorial I run into this</p>
  
  <pre><code>class HelloWorld(object):
      def index(self):
          return "Hello World!"
      index.exposed = True
  </code></pre>
  
  <p>So was does it mean? is exposed a variable in the local scope of the method index? If so, can I the value of expose change? I think it has something to do with python's MetaObject protocol to expose a class definition as an object itself.</p>