(cls, geom)
return super().nestedPointList(geom)
geom: a subclass object of QgsAbstractGeometry
geom: a subclass object of QgsAbstractGeometry
geom : a subclass object of QgsAbstractGeometry
def nestedPointList(cls, geom):
        """geom: a subclass object of QgsAbstractGeometry"""
        if isinstance(geom, QgsLineString):
            return [geom.points()]

        if isinstance(geom, QgsMultiLineString):
            return [geom.geometryN(i).points() for i in range(geom.numGeometries())]

        return super().nestedPointList(geom)
def nestedPointList ( cls , geom ) : if isinstance ( geom , QgsLineString ) : return [ geom . points ( ) ] if isinstance ( geom , QgsMultiLineString ) : return [ geom . geometryN ( i ) . points ( ) for i in range ( geom . numGeometries ( ) ) ] return super ( ) . nestedPointList ( geom )