class A:
    def __init__(self):
        self.ev=[]
        self.name="jaek"
        def f(*args):
            kill(args[0])
        self.addev(f)
    def addev(self, f):
        self.ev.append((f, (self,),))

def kill(thing):
    print(thing.name,"killed.")

a=A()
a.ev[0][0](a.ev[0][1])


0b42d2868c55b8e65d1c7372ea627df8292f0f99
class A:
    <mask token>
    <mask token>


<mask token>

class A:

    def __init__(self):
        self.ev = []
        self.name = 'jaek'

        def f(*args):
            kill(args[0])
        self.addev(f)

    def addev(self, f):
        self.ev.append((f, (self,)))


<mask token>

class A:

    def __init__(self):
        self.ev = []
        self.name = 'jaek'

        def f(*args):
            kill(args[0])
        self.addev(f)

    def addev(self, f):
        self.ev.append((f, (self,)))


def kill(thing):
    print(thing.name, 'killed.')


<mask token>
a.ev[0][0](a.ev[0][1])

class A:

    def __init__(self):
        self.ev = []
        self.name = 'jaek'

        def f(*args):
            kill(args[0])
        self.addev(f)

    def addev(self, f):
        self.ev.append((f, (self,)))


def kill(thing):
    print(thing.name, 'killed.')


a = A()
a.ev[0][0](a.ev[0][1])

class A:
    def __init__(self):
        self.ev=[]
        self.name="jaek"
        def f(*args):
            kill(args[0])
        self.addev(f)
    def addev(self, f):
        self.ev.append((f, (self,),))

def kill(thing):
    print(thing.name,"killed.")

a=A()
a.ev[0][0](a.ev[0][1])

