摘要: 英文文档: 说明 1. 当函数不接收参数时,其功能和locals函数一样,返回当前作用域内的局部变量。 2. 当函数接收一个参数时,参数可以是模块、类、类实例,或者定义了__dict__属性的对象。 阅读全文
posted @ 2016-12-03 23:49 十月狐狸 阅读(5558) 评论(0) 推荐(1) 编辑
摘要: 英文文档: class type(object) class type(name, bases, dict) With one argument, return the type of an object. The return value is a type object and generall 阅读全文
posted @ 2016-12-03 23:22 十月狐狸 阅读(3614) 评论(0) 推荐(1) 编辑
摘要: 英文文档: The constructor builds a tuple whose items are the same and in the same order as iterable‘s items. iterable may be either a sequence, a containe 阅读全文
posted @ 2016-12-03 17:19 十月狐狸 阅读(2419) 评论(0) 推荐(0) 编辑