From 70b03ad2336fa77bcbeea873d41a5a7392497c46 Mon Sep 17 00:00:00 2001 From: Canule Date: Sun, 26 Feb 2017 23:42:13 +0100 Subject: [PATCH] xrange --- svgpathtools/smoothing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svgpathtools/smoothing.py b/svgpathtools/smoothing.py index 424ed99..3bd7015 100644 --- a/svgpathtools/smoothing.py +++ b/svgpathtools/smoothing.py @@ -23,7 +23,7 @@ def is_differentiable(path, tol=1e-8): def kinks(path, tol=1e-8): """returns indices of segments that start on a non-differentiable joint.""" kink_list = [] - for idx in xrange(len(path)): + for idx in range(len(path)): if idx == 0 and not path.isclosed(): continue try: