摘要:
英文文档: 阅读全文
摘要:
英文文档: callable(object) Return True if the object argument appears callable, False if not. If this returns true, it is still possible that a call fails 阅读全文
摘要:
英文文档: setattr(object, name, value) This is the counterpart of getattr(). The arguments are an object, a string and an arbitrary value. The string may 阅读全文
摘要:
英文文档: getattr(object, name[, default])Return the value of the named attribute of object. name must be a string. If the string is the name of one of th 阅读全文
摘要:
英文文档: 阅读全文
摘要:
英文文档: issubclass(class, classinfo)Return true if class is a subclass (direct, indirect or virtual) of classinfo. A class is considered a subclass of i 阅读全文
摘要:
英文文档: isinstance(object, classinfo) Return true if the object argument is an instance of the classinfo argument, or of a (direct, indirect or virtual) 阅读全文
摘要:
英文文档: __import__(name, globals=None, locals=None, fromlist=(), level=0) This function is invoked by the import statement. It can be replaced (by impor 阅读全文
摘要:
英文文档: 返回当前作用域内的局部变量和其值组成的字典,或者返回对象的属性列表 说明 1. 当函数不接收参数时,其功能和locals函数一样,返回当前作用域内的局部变量。 2. 当函数接收一个参数时,参数可以是模块、类、类实例,或者定义了__dict__属性的对象。 阅读全文
摘要:
英文文档: format(value[, format_spec]) Convert a value to a “formatted” representation, as controlled by format_spec. The interpretation of format_spec wi 阅读全文