in src/h3/_h3shape.py [0:0]
def _close_ring(ll1): """ Idempotent """ if ll1 and (ll1[0] != ll1[-1]): ll1 = tuple(ll1) + (ll1[0],) return ll1