Lines Matching refs:fac
1303 def _check_arguments(self, fac, check):
1319 return fac(args)
1347 def fac(args):
1349 self._check_arguments(fac, self.stmt)
1527 def fac(args):
1529 self._check_arguments(fac, self.expr)
1548 def _check_comprehension(self, fac):
1549 self.expr(fac([]), "comprehension with no generators")
1552 self.expr(fac([g]), "must have Store context")
1555 self.expr(fac([g]), "must have Load context")
1559 self.expr(fac([g]), "None disallowed")
1561 self.expr(fac([g]), "must have Load context")
1563 def _simple_comp(self, fac):
1566 self.expr(fac(ast.Name("x", ast.Store()), [g]),
1569 return fac(ast.Name("x", ast.Store()), gens)
1663 def _sequence(self, fac):
1664 self.expr(fac([None], ast.Load()), "None disallowed")
1665 self.expr(fac([ast.Name("x", ast.Store())], ast.Load()),