摘要: 英文文档: locals() Update and return a dictionary representing the current local symbol table. Free variables are returned by locals() when it is called i 阅读全文
posted @ 2016-11-04 21:28 十月狐狸 阅读(1484) 评论(0) 推荐(0) 编辑
摘要: 英文文档: class list([iterable]) Rather than being a function, list is actually a mutable sequence type, as documented in Lists and Sequence Types — list, 阅读全文
posted @ 2016-11-04 20:07 十月狐狸 阅读(1467) 评论(0) 推荐(0) 编辑
摘要: 英文文档: 2. 如果参数为其它类型,则其必须实现__len__方法,并返回整数,否则报错。 阅读全文
posted @ 2016-11-04 19:55 十月狐狸 阅读(2253) 评论(0) 推荐(1) 编辑