[interpolatable] Minor

This commit is contained in:
Behdad Esfahbod 2017-02-20 19:53:34 -06:00
parent 19e695775f
commit 69c11928a2
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@ def green(f, curveXY):
f = sp.integrate(f * sp.diff(curveXY[0], t), (t, 0, 1))
return f
class _BezierFuncsLazy(dict):
def __init__(self, symfunc):

View File

@ -48,7 +48,7 @@ class PerContourOrComponentPen(PerContourPen):
class RecordingNoComponentsPen(BasePen):
def __init__(self, glyphset):
def __init__(self, glyphset=None): # glyphset is unused
BasePen.__init__(self, glyphset)
self._glyphset = glyphset
self.value = []
@ -76,7 +76,7 @@ class RecordingPen(RecordingNoComponentsPen):
class TeePen(object):
def __init__(self, *pens):
def __init__(self, *pens, glyphset=None): # glyphset is unused
if len(pens) == 1:
pens = pens[0]
self.pens = pens