Skip to content

Commit 556d001

Browse files
authored
Add comments on rss_item() function
1 parent 659772f commit 556d001

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

convert_json.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ def rss_item(title: str | None = None,
1919
description: str | None = None,
2020
link: str | None = None,
2121
pubDate: str | None = None) -> ET.Element:
22+
"""
23+
Create an RSS-formatted element
24+
25+
Takes input as strings and processes the strings into a form that is RSS compliant.
26+
"""
2227

2328
item = ET.Element("item")
2429

0 commit comments

Comments
 (0)