From 7bd0081368c0258ffcf4867c74881ccf9c4fefd6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 20 Feb 2017 14:32:11 -0600 Subject: [PATCH] [symfont] Remove printCache() It wasn't updated, and not working, for ages. --- Snippets/symfont.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Snippets/symfont.py b/Snippets/symfont.py index 6f063477e..8684534e4 100755 --- a/Snippets/symfont.py +++ b/Snippets/symfont.py @@ -130,14 +130,6 @@ class BezierFuncs(dict): args.append('y%d' % d) return sp.lambdify(args, green(self._symfunc, BezierCurve[i])) -def printCache(func, file=sys.stdout): - funcstr = str(func) - print("GreenPen._BezierFuncs['%s'] = [" % funcstr, file=file) - for i in range(n+1): - print(' lambda P:', green(func, BezierCurve[i]), ',') - print(']', file=file) - - class GreenPen(BasePen): _BezierFuncs = {}