title: Binding class methods to external functions
body: <p>I get an error when  trying to bind a class method to a function. Why?</p>
  
  <pre><code>def foo():
      print "Hello world"
  
  class something(object):
      bar = foo
  
  test = something()
  test.bar()
  
  TypeError: foo() takes no arguments (1 given)
  </code></pre>
  
  <p>Also, if I am unable  to modify <code>foo</code>, can I do this adaptation from within the class definition?</p>