Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.79K
1 Posted Topic
[code=python] class Aclass: def __call__(self): print 'Hi I am __call__ed'; def __init__(self, *args, **keyargs): print "Hi I am __init__ed"; [/code] Here, executing x = Aclass() will call __init__() and just x() will call __call__(). Hope this helps :)
The End.
knightsamar