Calling a class functions using map
<p>Sorry if this has been asked but I couldn't find anything online to indicate if this was possible. The easiest way I can explain this is just with a code segment, with this just being representative of my problem:</p>

<pre><code>class A:
    def a(self,):
        print "Hello"
B = [A for i in xrange(10)]
map(self.a,B)
</code></pre>

<p>Basically I wanted to iterate over the array of self defined classes and call the class function. For reference in case it matters the function of the class is self contained and doesn't return anything, it causes a change in internal variables. Any help is really appreciated and at the end of the day I want to use it with multiprocessing.Pool.</p>

<p>Thanks,
Ali</p>
