合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
``` def ask(name="skyqin"): print(name) class Person: def __init__(self): print("skyqin") def decorator_func(): print("decorator start") return ask my_ask = decorator_func() my_ask("tom") # obj_list =[] # obj_list.append(ask) # obj_list.append(Person) # for item in obj_list: # print(item()) # my_func = ask # my_func("hello") # # my_class = Person # # my_class() ```