摘要:
import time def dubious(): print(f"\033[32;40;7m{'dubious start'}\033[0m") while True: send_value = yield if send_value is None: break commence = time 阅读全文
posted @ 2022-09-19 16:11
ascertain
阅读(30)
评论(0)
推荐(0)
摘要:
__slots__ 定义为类属性, 约束实例属性, 类定义__slots__后, 实例就没有__dict__ 子类和父类都定义__slots__后, 子类可有全部__slots__属性 父类存在__slots__,子类没有定义__slots__时, 子类存在__dict__ 定义__slots__后 阅读全文
posted @ 2022-09-19 14:08
ascertain
阅读(24)
评论(0)
推荐(0)

浙公网安备 33010602011771号