From f21c0cc2de0786a7e45863263589c558e3c6f286 Mon Sep 17 00:00:00 2001 From: mozman Date: Sun, 3 Mar 2024 19:09:20 +0100 Subject: [PATCH] fix doc string --- src/ezdxf/addons/drawing/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ezdxf/addons/drawing/json.py b/src/ezdxf/addons/drawing/json.py index 1b0666b91..efd09e5fe 100644 --- a/src/ezdxf/addons/drawing/json.py +++ b/src/ezdxf/addons/drawing/json.py @@ -505,7 +505,7 @@ def geojson_ring(path: BkPath2d, is_hole: bool, max_sagitta: float) -> Ring: def geojson_polygons(path: BkPath2d, max_sagitta: float) -> list[GeoJsonPolygon]: """Returns a list of polygons, where each polygon is a list of an exterior path and - optional holes e.g. [[ext0, [hole0, hole1]], [ext1], [ext2, hole0], ...]. + optional holes e.g. [[ext0, hole0, hole1], [ext1], [ext2, hole0], ...]. """ sub_paths: list[BkPath2d] = path.sub_paths()