loops#

loops(k)#

Return a list of arcs (each a 2-endpoint container) that are loops.

Parameters:

k (PlanarDiagram)

Return type:

list