1""" Mostly for stupid error reports of @dbrgn. :-) """ 2 3import time 4 5class Foo(object): 6 global time 7 asdf = time 8 9def asdfy(): 10 return Foo 11 12xorz = getattr(asdfy()(), 'asdf') 13#? time 14xorz 15 16 17 18def args_returner(*args): 19 return args 20 21 22#? tuple() 23args_returner(1)[:] 24#? int() 25args_returner(1)[:][0] 26 27 28def kwargs_returner(**kwargs): 29 return kwargs 30 31 32# TODO This is not really correct, needs correction probably at some point, but 33# at least it doesn't raise an error. 34#? int() 35kwargs_returner(a=1)[:] 36#? 37kwargs_returner(b=1)[:][0] 38