예제 #1
0
 def is_linetouched(self, line):
     code = lib.is_linetouched(self._win, line)
     if code == lib.ERR:
         raise error("is_linetouched: line number outside of boundaries")
     if code == lib.FALSE:
         return False
     return True
예제 #2
0
 def is_linetouched(self, line):
     code = lib.is_linetouched(self._win, line)
     if code == lib.ERR:
         raise error("is_linetouched: line number outside of boundaries")
     if code == lib.FALSE:
         return False
     return True