#!/usr/local/bin/python2 class A(object): def __init__(self): print 'init' self.value = 0 def __call__(self, a): print 'called' print a map(A(), [1,2,3,4,5,6])