From 3d22a7cf52d395cfe0516cb272535b51a5238b81 Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Fri, 17 Sep 2021 22:35:27 -0700 Subject: [PATCH] remove redundant is_bezier_segment and is_path_segment defs --- svgpathtools/path.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/svgpathtools/path.py b/svgpathtools/path.py index f295426..31e91ce 100644 --- a/svgpathtools/path.py +++ b/svgpathtools/path.py @@ -2351,16 +2351,6 @@ class Arc(object): current_t = next_t -def is_bezier_segment(x): - return (isinstance(x, Line) or - isinstance(x, QuadraticBezier) or - isinstance(x, CubicBezier)) - - -def is_path_segment(x): - return is_bezier_segment(x) or isinstance(x, Arc) - - class Path(MutableSequence): """A Path is a sequence of path segments"""