- def munge_description(self, description):
- description = re.sub('[Rr]ead full story for latest details.',
- '',
- description)
- description = re.sub('<[^>]+>', '', description)
+ def munge_description(self, description: str, item: xml.etree.ElementTree.Element) -> str:
+ description = re.sub("[Rr]ead full story for latest details.", "", description)
+ description = re.sub("<[^>]+>", "", description)