File indexing completed on 2024-04-28 15:53:57
0001 """This file contains auto-generated documentation extracted 0002 from python run-time information. It is analyzed by KDevelop 0003 to offer features such as code-completion and syntax highlighting. 0004 If you discover errors in KDevelop's support for this module, 0005 you can edit this file to correct the errors, e.g. you can add 0006 additional return statements to functions to control the return 0007 type to be used for that function by the analyzer. 0008 Make sure to keep a copy of your changes so you don't accidentally 0009 overwrite them by re-generating the file. 0010 If you do significant improvements, consider sharing the file 0011 with others through the Settings -> Configure KDevelop -> Python Documentation data 0012 module!""" 0013 0014 class defaultdict: 0015 __doc__ = str() 0016 __hash__ = None 0017 def clear(self, _): 0018 """D.clear() -> None. Remove all items from D.""" 0019 return None 0020 def copy(self, _): 0021 """D.copy() -> a shallow copy of D.""" 0022 return None 0023 default_factory = member_descriptor() 0024 def _fromkeys(self, _): 0025 """Returns a new dict with keys from iterable and values equal to value.""" 0026 return None 0027 def get(self, k, d=None): 0028 """D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.""" 0029 return None 0030 def items(self, _): 0031 """D.items() -> a set-like object providing a view on D's items""" 0032 return None 0033 def keys(self, _): 0034 """D.keys() -> a set-like object providing a view on D's keys""" 0035 return None 0036 def pop(self, k, d=None): 0037 """D.pop(k[,d]) -> v, remove specified key and return the corresponding value. 0038 If key is not found, d is returned if given, otherwise KeyError is raised""" 0039 return None 0040 def popitem(self, _): 0041 """D.popitem() -> (k, v), remove and return some (key, value) pair as a 0042 2-tuple; but raise KeyError if D is empty.""" 0043 return None 0044 def setdefault(self, k, d=None): 0045 """D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D""" 0046 return None 0047 def update(self, E=None, F=None): 0048 """D.update([E, ]**F) -> None. Update D from dict/iterable E and F. 0049 If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] 0050 If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v 0051 In either case, this is followed by: for k in F: D[k] = F[k]""" 0052 return None 0053 def values(self, _): 0054 """D.values() -> an object providing a view on D's values""" 0055 return None 0056 0057 class deque: 0058 """ ! TypeContainer ! """ 0059 __doc__ = str() 0060 __hash__ = None 0061 def __init__(self): 0062 """! returnContentEqualsContentOf ! 0""" 0063 return deque() 0064 def append(self, _): 0065 """Add an element to the right side of the deque. 0066 ! addsTypeOfArg ! 0""" 0067 return None 0068 def appendleft(self, _): 0069 """ 0070 ! addsTypeOfArg ! 0 0071 Add an element to the left side of the deque.""" 0072 return None 0073 def clear(self, _): 0074 """Remove all elements from the deque.""" 0075 return None 0076 def copy(self, _): 0077 """Return a shallow copy of a deque.""" 0078 return deque() 0079 def count(self, value): 0080 """D.count(value) -> integer -- return number of occurrences of value""" 0081 return 0 0082 def extend(self, _): 0083 """! addsTypeOfArgContent ! 0 0084 Extend the right side of the deque with elements from the iterable""" 0085 return None 0086 def extendleft(self, _): 0087 """! addsTypeOfArgContent ! 0 0088 Extend the left side of the deque with elements from the iterable""" 0089 return None 0090 def index(self, value, start=None, stop=None): 0091 """D.index(value, [start, [stop]]) -> integer -- return first index of value. 0092 Raises ValueError if the value is not present.""" 0093 return 0 0094 def insert(self, index, object): 0095 """! addsTypeOfArg ! 1 0096 D.insert(index, object) -- insert object before index""" 0097 return None 0098 maxlen = 1 0099 def pop(self, _): 0100 """Remove and return the rightmost element.""" 0101 return None 0102 def popleft(self, _): 0103 """Remove and return the leftmost element.""" 0104 return None 0105 def remove(self, value): 0106 """D.remove(value) -- remove first occurrence of value.""" 0107 return None 0108 def reverse(self, _): 0109 """D.reverse() -- reverse *IN PLACE*""" 0110 return None 0111 def rotate(self, defaultn=1): 0112 """Rotate the deque n steps to the right (default n=1). If n is negative, rotates left.""" 0113 return None