Home | History | Annotate | Download | only in python2.7

Lines Matching refs:def

14     def __init__(self, seq):
21 def __str__(self): return str(self.data)
22 def __repr__(self): return repr(self.data)
23 def __int__(self): return int(self.data)
24 def __long__(self): return long(self.data)
25 def __float__(self): return float(self.data)
26 def __complex__(self): return complex(self.data)
27 def __hash__(self): return hash(self.data)
29 def __cmp__(self, string):
34 def __contains__(self, char):
37 def __len__(self): return len(self.data)
38 def __getitem__(self, index): return self.__class__(self.data[index])
39 def __getslice__(self, start, end):
43 def __add__(self, other):
50 def __radd__(self, other):
55 def __mul__(self, n):
58 def __mod__(self, args):
62 def capitalize(self): return self.__class__(self.data.capitalize())
63 def center(self, width, *args):
65 def count(self, sub, start=0, end=sys.maxint):
67 def decode(self, encoding=None, errors=None): # XXX improve this?
75 def encode(self, encoding=None, errors=None): # XXX improve this?
83 def endswith(self, suffix, start=0, end=sys.maxint):
85 def expandtabs(self, tabsize=8):
87 def find(self, sub, start=0, end=sys.maxint):
89 def index(self, sub, start=0, end=sys.maxint):
91 def isalpha(self): return self.data.isalpha()
92 def isalnum(self): return self.data.isalnum()
93 def isdecimal(self): return self.data.isdecimal()
94 def isdigit(self): return self.data.isdigit()
95 def islower(self): return self.data.islower()
96 def isnumeric(self): return self.data.isnumeric()
97 def isspace(self): return self.data.isspace()
98 def istitle(self): return self.data.istitle()
99 def isupper(self): return self.data.isupper()
100 def join(self, seq): return self.data.join(seq)
101 def ljust(self, width, *args):
103 def lower(self): return self.__class__(self.data.lower())
104 def lstrip(self, chars=None): return self.__class__(self.data.lstrip(chars))
105 def partition(self, sep):
107 def replace(self, old, new, maxsplit=-1):
109 def rfind(self, sub, start=0, end=sys.maxint):
111 def rindex(self, sub, start=0, end=sys.maxint):
113 def rjust(self, width, *args):
115 def rpartition(self, sep):
117 def rstrip(self, chars=None): return self.__class__(self.data.rstrip(chars))
118 def split(self, sep=None, maxsplit=-1):
120 def rsplit(self, sep=None, maxsplit=-1):
122 def splitlines(self, keepends=0): return self.data.splitlines(keepends)
123 def startswith(self, prefix, start=0, end=sys.maxint):
125 def strip(self, chars=None): return self.__class__(self.data.strip(chars))
126 def swapcase(self): return self.__class__(self.data.swapcase())
127 def title(self): return self.__class__(self.data.title())
128 def translate(self, *args):
130 def upper(self): return self.__class__(self.data.upper())
131 def zfill(self, width): return self.__class__(self.data.zfill(width))
148 def __init__(self, string=""):
157 def __setitem__(self, index, sub):
178 def __delitem__(self, index):
193 def __setslice__(self, start, end, sub):
201 def __delslice__(self, start, end):
204 def immutable(self):
206 def __iadd__(self, other):
214 def __imul__(self, n):
217 def insert(self, index, value):