예제 #1
0
 def inner_fac(n, value):
     if n < 1:
         return literally(value)
     return n * outer_fac(n - 1, value)
예제 #2
0
 def inner(x, y):
     return x + literally(y)
예제 #3
0
 def foo(x):
     return literally(x) * 2
예제 #4
0
 def impl(self, a):
     return literally(a)  # <-- using literally here
예제 #5
0
 def hidden(x, y):
     return literally(x) + y
예제 #6
0
 def foo(a, b):
     return do_this(a, literally(b))
예제 #7
0
 def closure(d):
     return literally(d) + 10 * inner(a, b)
예제 #8
0
 def foo(a, b):
     v = 1000
     return a + literally(v) + literally(b)
예제 #9
0
 def foo(a, b):
     return literally(1 + a)
예제 #10
0
 def foo(a, b=1):
     return (a, literally(b))
예제 #11
0
 def foo(a, *args):
     return literally(args)