Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def lstrip(component):
    if isinstance(component, TextComponent):
        return component.lstrip()
    return component
        


src/w/h/whiff-1.1/whiff/stream.py   whiff(Download)
                del components[-1]
            if components:
                components[0] = textcomponent.lstrip(components[0])
                components[-1] = textcomponent.rstrip(components[-1])
        # this forces materialization of components