equal
deleted
inserted
replaced
184 return [f for f in mctx.subset if f in s] |
184 return [f for f in mctx.subset if f in s] |
185 |
185 |
186 def func(mctx, a, b): |
186 def func(mctx, a, b): |
187 if a[0] == 'symbol' and a[1] in symbols: |
187 if a[0] == 'symbol' and a[1] in symbols: |
188 return symbols[a[1]](mctx, b) |
188 return symbols[a[1]](mctx, b) |
189 raise error.ParseError(_("not a function: %s") % a[1]) |
189 raise error.UnknownIdentifier(a[1], symbols.keys()) |
190 |
190 |
191 def getlist(x): |
191 def getlist(x): |
192 if not x: |
192 if not x: |
193 return [] |
193 return [] |
194 if x[0] == 'list': |
194 if x[0] == 'list': |