python 冷知识点

# int could accept parameters in bool type.
int(True) # result is 1 int(False) # result is 0

reprlib.repr 这个实用函数用于生成大型数据结构的简略字符串表示形式。

原文地址:https://www.cnblogs.com/buxizhizhoum/p/7698145.html