code: def popPoint(self):
      if self.points:
          return self.points.pop()
      return None
  
imports: import math
  import sys
  from PyQt5.QtCore import QPointF
  from PyQt5.QtGui import QColor, QPen, QPainterPath, QFont
  from libs.utils import distance
label_desc: Use image node_id 8 for calling the Shape obj's underlying member method code with example usage: obj.popPoint() and returns: None, self