摘要:
isinstance和issubclass 反射 阅读全文
posted @ 2018-06-13 21:51
强仔必胜
阅读(137)
评论(0)
推荐(0)
摘要:
local的作用:各个线程各开辟一块空间互不影响 基于local""" import threading from threading import local import time obj = local() def task(i): obj.xxxxx = i time.sleep(2) print(obj.xxxxx,i) for i in range(... 阅读全文
posted @ 2018-06-13 19:30
强仔必胜
阅读(609)
评论(0)
推荐(0)

浙公网安备 33010602011771号