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

Lines Matching refs:def

46 def lower(s):
55 def upper(s):
64 def swapcase(s):
74 def strip(s):
84 def lstrip(s):
93 def rstrip(s):
104 def split(s, sep=None, maxsplit=0):
119 def join(words, sep = ' '):
136 def index(s, *args):
145 def rindex(s, *args):
154 def count(s, *args):
165 def find(s, *args):
178 def rfind(s, *args):
197 def atof(s):
210 def atoi(*args):
237 def atol(*args):
265 def ljust(s, width):
278 def rjust(s, width):
291 def center(s, width):
310 def zfill(x, width):
328 def expandtabs(s, tabsize=8):
347 def translate(s, table, deletions=""):
358 # Capitalize a string, e.g. "aBc dEf" -> "Abc def".
359 def capitalize(s):
368 # Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def".
369 def capwords(s, sep=None):
382 def maketrans(fromstr, tostr):
402 def replace(s, old, new, maxsplit=0):