TypeError in Python
<p>I have two classes for in case:</p>

<p>testing.py :</p>

<pre><code>class Functions:
    def mapping(func, x):
        return func(x)
</code></pre>

<p>and I try to run the code below:</p>

<pre><code>import testing

def doubleMe(data):
    return data * data

res = stream.Functions.map(testdouble, [1,2,3,4,5])
print res
</code></pre>

<p>After I try to run the code, I got the error </p>

<blockquote>
  <p>TypeError: unbound method mapping() must be called with Functions
  instance as first argument (got function instance instead)</p>
</blockquote>

<p>I not too sure what what have went wrong here, can I have some advise? Thanks!</p>
