class Key_Events:

    def __init__(self):
        self.key = ''

    def key_pressed(self, key):
        self.key = key

    def get_key(self):
        k = self.key
        self.key = ''
        return k

41b80e3c387d1df3603ec0ce9fec5488478bae9f
class Key_Events:
    <mask token>
    <mask token>
    <mask token>

class Key_Events:
    <mask token>

    def key_pressed(self, key):
        self.key = key
    <mask token>

class Key_Events:

    def __init__(self):
        self.key = ''

    def key_pressed(self, key):
        self.key = key
    <mask token>

class Key_Events:

    def __init__(self):
        self.key = ''

    def key_pressed(self, key):
        self.key = key

    def get_key(self):
        k = self.key
        self.key = ''
        return k
