parameters: (cls, geom)
return_statement: return super().singleGeometries(geom)
docstring: geom: a subclass object of QgsAbstractGeometry
docstring_summary: geom: a subclass object of QgsAbstractGeometry
docstring_tokens: geom : a subclass object of QgsAbstractGeometry
function: def singleGeometries(cls, geom):
          """geom: a subclass object of QgsAbstractGeometry"""
          if isinstance(geom, QgsLineString):
              return [geom]
  
          if isinstance(geom, QgsMultiLineString):
              return [geom.geometryN(i) for i in range(geom.numGeometries())]
  
          return super().singleGeometries(geom)
function_tokens: def singleGeometries ( cls , geom ) : if isinstance ( geom , QgsLineString ) : return [ geom ] if isinstance ( geom , QgsMultiLineString ) : return [ geom . geometryN ( i ) for i in range ( geom . numGeometries ( ) ) ] return super ( ) . singleGeometries ( geom )