Exemplo n.º 1
0
 def check_evaluation(
         first,
         x: Any = Evaluated(function_to_evaluate),
         *,
         second,
         y: Any = Evaluated(function_to_evaluate),
         third=None,
 ):
     return x, y
Exemplo n.º 2
0
 def support_positionals(x, y=Evaluated(lambda: 123), /):
     x[0] += 1
     return x, y
Exemplo n.º 3
0
 def check_evaluation(y: Any = Evaluated(function_to_evaluate),
                      *,
                      additional: Any = None):
     return y
Exemplo n.º 4
0
 def check_evaluation(x: Any = Evaluated(function_to_evaluate),
                      *,
                      y: Any = Evaluated(function_to_evaluate)):
     return x, y
Exemplo n.º 5
0
 def check_evaluation(y: Any = Evaluated(function_to_evaluate)):
     return y