(self, args)
return self.values.new_integer().from_int(result)
PEN: poll the light pen.
PEN: poll the light pen.
PEN : poll the light pen .
def pen_fn_(self, args):
        """PEN: poll the light pen."""
        fn, = args
        result = self.pen.poll(fn, self.basic_events.pen in self.basic_events.enabled, self.display.apage)
        return self.values.new_integer().from_int(result)
def pen_fn_ ( self , args ) : fn , = args result = self . pen . poll ( fn , self . basic_events . pen in self . basic_events . enabled , self . display . apage ) return self . values . new_integer ( ) . from_int ( result )