Пример #1
0
 def fofunc(toi, int1=Int(), int2=Int(), int3=Int()):
     calls.append((toi, int1, int2, int3))
     return retVal
Пример #2
0
 def fofunc(toi, int1=Int()):
     calls.append((
         toi,
         int1,
     ))
     return retVal
Пример #3
0
 def tMethod(toi, fooArg=Int()):
     pass
Пример #4
0
 def fooMethod(toi, fooArg=Int()):
     return fooArg
Пример #5
0
class fooTO(TO):
    @method(Int())
    def fooMethod(toi, fooArg=Int()):
        return fooArg
Пример #6
0
 def bar(toi, arg1=Int()):
     calls.append(('origbar', toi, arg1))