class tuple(object):"""tuple() -> empty tupletuple(iterable) -> tuple initialized from iterable's itemsIf the argument is a tuple, the return value is the same object."""def count(self, value): # real signature unknown; restored from __doc__""" T.count(value) -> integer -- return number of occurrences of value """(T.count(價(jià)值)- >整數(shù),返回值的出現(xiàn)次數(shù))return 0def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__"""T.index(value, [start, [stop]]) -> integer -- return first index of value.Raises ValueError if the value is not present."""(T。指數(shù)(價(jià)值,[開始,[不要]])- >整數(shù),返回第一索引值。提出了ValueError如果不存在的價(jià)值。)return 0def__add__(self, *args, **kwargs): # real signature unknown""" Return self+value. """passdef__contains__(self, *args, **kwargs): # real signature unknown""" Return key in self. """passdef__eq__(self, *args, **kwargs): # real signature unknown""" Return self==value. """passdef__getattribute__(self, *args, **kwargs): # real signature unknown""" Return getattr(self, name). """passdef__getitem__(self, *args, **kwargs): # real signature unknown""" Return self[key]. """passdef__getnewargs__(self, *args, **kwargs): # real signature unknownpassdef__ge__(self, *args, **kwargs): # real signature unknown""" Return self>=value. """passdef__gt__(self, *args, **kwargs): # real signature unknown""" Return self>value. """passdef__hash__(self, *args, **kwargs): # real signature unknown""" Return hash(self). """passdef__init__(self, seq=()): # known special case of tuple.__init__"""tuple() -> empty tupletuple(iterable) -> tuple initialized from iterable's itemsIf the argument is a tuple, the return value is the same object.# (copied from class doc)"""passdef__iter__(self, *args, **kwargs): # real signature unknown""" Implement iter(self). """passdef__len__(self, *args, **kwargs): # real signature unknown""" Return len(self). """passdef__le__(self, *args, **kwargs): # real signature unknown""" Return self<=value. """passdef__lt__(self, *args, **kwargs): # real signature unknown""" Return self<value. """passdef__mul__(self, *args, **kwargs): # real signature unknown""" Return self*value.n """pass@staticmethod # known case of __new__def__new__(*args, **kwargs): # real signature unknown""" Create and return a new object. See help(type) for accurate signature. """passdef__ne__(self, *args, **kwargs): # real signature unknown""" Return self!=value. """passdef__repr__(self, *args, **kwargs): # real signature unknown""" Return repr(self). """passdef__rmul__(self, *args, **kwargs): # real signature unknown""" Return self*value. """passtuple