in src/h3/_h3shape.py [0:0]
def _polygon_to_LL2(h3poly): ll2 = [h3poly.outer] + list(h3poly.holes) ll2 = tuple( _close_ring(_swap_latlng(ll1)) for ll1 in ll2 ) return ll2