what constitutes a member of a class? What constitutes a method?
<p>It seems that an acceptable answer to the question </p>

<blockquote>
  <p>What is a method?</p>
</blockquote>

<p>is </p>

<blockquote>
  <p>A method is a function that's a member of a class.</p>
</blockquote>

<p>I disagree with this. </p>

<pre><code>class Foo(object):
    pass

def func():
    pass

Foo.func = func

f = Foo()

print "fine so far"
try:
    f.func()
except TypeError:
    print "whoops! func must not be a method after all"
</code></pre>

<ol>
<li>Is <code>func</code> a member of <code>Foo</code>?</li>
<li>Is <code>func</code> a method of <code>Foo</code>?</li>
</ol>

<p>I am well aware that this would work if <code>func</code> had a <code>self</code> argument. That's obvious. I'm interested in if it's a member of <code>foo</code> and in if it's a <code>method</code> as presented. </p>
