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