Lines Matching refs:fac
649 def _check_arguments(self, fac, check): argument
663 return fac(args)
690 def fac(args): function
692 self._check_arguments(fac, self.stmt)
850 def fac(args): function
852 self._check_arguments(fac, self.expr)
871 def _check_comprehension(self, fac): argument
872 self.expr(fac([]), "comprehension with no generators")
875 self.expr(fac([g]), "must have Store context")
878 self.expr(fac([g]), "must have Load context")
882 self.expr(fac([g]), "None disallowed")
884 self.expr(fac([g]), "must have Load context")
886 def _simple_comp(self, fac): argument
889 self.expr(fac(ast.Name("x", ast.Store()), [g]),
892 return fac(ast.Name("x", ast.Store()), gens)
984 def _sequence(self, fac): argument
985 self.expr(fac([None], ast.Load()), "None disallowed")
986 self.expr(fac([ast.Name("x", ast.Store())], ast.Load()),