1514a0b
1
2
3
4
5
import re def remove_parenthesis(items): for item in items: return re.sub(' ?\\([^)]+\\)', '', item)