Skip to content

Commit

Permalink
fix doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed Mar 3, 2024
1 parent 90aceaf commit f21c0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ezdxf/addons/drawing/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f21c0cc

Please sign in to comment.