def extend(self, l):
        list.extend(self, l) # EXTEND TOP-LEVEL LIST AS USUAL
        try: # EXTEND OUR EDGE LIST AS WELL
            self.edge.extend(l.edge)
        except __HOLE__: #IF l HAS NO EDGES, PAD OUR EDGE LIST WITH Nones
            self.edge.extend(len(l) * [None])
dataset/ETHPy150Open cjlee112/pygr/pygr/mapping.py/PathList.extend