Peter, Spir - thanks for your time and effort!
I am posting this query to few more Python mailers.
Thank you,
Sangeeth
On Tue, Feb 25, 2014 at 5:22 AM, spir wrote:
> On 02/24/2014 08:19 PM, Sangeeth Saravanaraj wrote:
>
>> Sorry, I should have described what I was trying!
>
On Mon, Feb 24, 2014 at 10:53 PM, Peter Otten <__pete...@web.de> wrote:
> Sangeeth Saravanaraj wrote:
>
> > I am trying to capture an object initiation and deletion events using the
> > __call__() and __del__() methods with the following approach.
>
> Note that there
I am trying to capture an object initiation and deletion events using the
__call__() and __del__() methods with the following approach.
class A(object):
def __init__(self, klass):
print "A::__init__()"
self._klass = klass
def __call__(self):
print "A::__call__()"