Exemplo n.º 1
0
 def onkey(self, key):
     Correction.onkey(self, key)
     if key == 'p':
         self.constraint.next()
         self.p_correction = None
         if key == 'a':
             for i in range(5):
                 self.constraint.next()
                 self.p_correction = None