def _open_ring()

in src/h3/_h3shape.py [0:0]


def _open_ring(ll1):
    """
    Idempotent
    """
    if ll1 and (ll1[0] == ll1[-1]):
        ll1 = ll1[:-1]

    return ll1