return a copy of the source object with
all lines indented by the given indent-string.
def indent(self, indent=' ' * 4):
origin: code.Source
where:
function source:
def indent(self, indent=' ' * 4):
""" return a copy of the source object with
all lines indented by the given indent-string.
"""
newsource = Source()
newsource.lines = [(indent+line) for line in self.lines]
return newsource
called in /home/johnny/projects/merlinux/pypy-dist/pypy/translator/js/main.py