摘要: 英文文档: iter(object[, sentinel]) Return an iterator object. The first argument is interpreted very differently depending on the presence of the second a 阅读全文
posted @ 2016-11-03 23:48 十月狐狸 阅读(2108) 评论(2) 推荐(0)
摘要: 英文文档: 3. 任何一个类都是自己类的子类,即class和calssinfo传入相同类型时,返回True。 4. 如果classinfo类型对象,是多个类型对象组成的元组,如果class类型对象是元组的任一类型对象的子类,则返回True,否则返回False。 5. 如果classinfo类型对象, 阅读全文
posted @ 2016-11-03 23:10 十月狐狸 阅读(1403) 评论(0) 推荐(0)
摘要: 英文文档: isinstance(object, classinfo) Return true if the object argument is an instance of the classinfo argument, or of a (direct, indirect or virtual) 阅读全文
posted @ 2016-11-03 22:16 十月狐狸 阅读(5615) 评论(0) 推荐(1)
摘要: 英文文档: class int(x=0) class int(x, base=10) Return an integer object constructed from a number or string x, or return 0 if no arguments are given. If x 阅读全文
posted @ 2016-11-03 22:00 十月狐狸 阅读(5948) 评论(0) 推荐(2)