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

Lines Matching defs:rstrip

57 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip
84 return result and re.sub('^ *\n', '', rstrip(result)) or ''
91 elif len(lines) >= 2 and not rstrip(lines[1]):
365 docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
1006 if lines: lines[-1] = rstrip(lines[-1])
1011 return self.bold(title) + '\n' + rstrip(self.indent(contents)) + '\n\n'
1249 return title + '\n' + self.indent(rstrip(contents), ' | ') + '\n'
1296 return decl + '\n' + (doc and rstrip(self.indent(doc)) + '\n')