Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/c/h/chirp-1.2.2/chirp/gui/chirpgui.py   chirp(Download)
                self.status.SetStatusText("Segments do not intersect.")
            else:
                new_polys = geom.split_polygons(p1, p2)
                new_elem = [self.spec.add_geometry(p) for p in geom.polygon_components(*new_polys)]
                self.spec.delete_selection(polys[1][0], polys[0][0])