have this code
有这个代码
import threading
def Thread(f):
def decorator(*args,**kargs):
print(args)
thread = threading.Thread(target=f, args=args)
thread.start()
thread.join()
decorator.__name__ = f.__name__
return decorator
@Thread
def add_item(a, b):
return a+b
print(add_item(2,2))
import threading
def T