Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

strips should accept lists #69

aaronsw opened this Issue Jun 7, 2011 · 0 comments


None yet
2 participants

aaronsw commented Jun 7, 2011

Passing strips functions a list should be equivalent to running strips once for every item in the list.

>>> web.lstrips('http://foo.org/', ['http://', 'https://'])
>>> web.lstrips('FOOBARBAZ', ['FOO', 'BAR'])
>>> web.lstrips('FOOBARBAZ', ['BAR', 'FOO'])

@ghost ghost assigned anandology and aaronsw Jun 7, 2011

@aaronsw aaronsw closed this in a01f465 Jun 7, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment