code: def addLineAnnot(self, p1, p2):
          
          CheckParent(self)
  
          val = _fitz.Page_addLineAnnot(self, p1, p2)
  
          if not val: return
          val.thisown = True
          val.parent = weakref.proxy(self)
          self._annot_refs[id(val)] = val
  
          return val
docs: Add 'Line' annot for points p1 and p2.