摘要:
英文文档: super([type[, object-or-type]]) Return a proxy object that delegates method calls to a parent or sibling class of type. This is useful for acces 阅读全文
摘要:
英文文档: sum(iterable[, start]) Sums start and the items of an iterable from left to right and returns the total. start defaults to 0. The iterable‘s ite 阅读全文
摘要:
英文文档: class str(object='') class str(object=b'', encoding='utf-8', errors='strict') Return a string version of object. If object is not provided, retu 阅读全文
摘要:
英文文档: staticmethod(function) Return a static method for function. A static method does not receive an implicit first argument. The @staticmethod form 阅读全文
摘要:
英文文档: sorted(iterable[, key][, reverse]) Return a new sorted list from the items in iterable. Has two optional arguments which must be specified as ke 阅读全文
摘要:
英文文档: setattr(object, name, value) This is the counterpart of getattr(). The arguments are an object, a string and an arbitrary value. The string may 阅读全文
摘要:
英文文档: The behavior of round() for floats can be surprising: for example, round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: i 阅读全文
摘要:
英文文档: class property(fget=None, fset=None, fdel=None, doc=None) Return a property attribute. fget is a function for getting an attribute value. fset i 阅读全文
摘要:
英文文档: print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False) Print objects to the text stream file, separated by sep and followed by end. se 阅读全文
摘要:
英文文档: class objectReturn a new featureless object. object is a base for all classes. It has the methods that are common to all instances of Python cla 阅读全文