摘要: 英文文档: hash(object)Return the hash value of the object (if it has one). Hash values are integers. They are used to quickly compare dictionary keys duri 阅读全文
posted @ 2016-10-29 10:35 十月狐狸 阅读(15604) 评论(0) 推荐(0) 编辑
摘要: 英文文档: 2. 函数实际上是调用getattr(object,name)函数,通过是否抛出AttributeError来判断是否含有属性。 阅读全文
posted @ 2016-10-29 10:34 十月狐狸 阅读(2400) 评论(0) 推荐(0) 编辑
摘要: 英文文档: 阅读全文
posted @ 2016-10-29 10:33 十月狐狸 阅读(993) 评论(0) 推荐(0) 编辑