Skip to content

Commit 1ac657b

Browse files
committed
Update docstring.
1 parent 7c383f8 commit 1ac657b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_unicorn/components/unicorn_template_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ def render(self):
109109
@staticmethod
110110
def _get_root_element(soup: BeautifulSoup) -> Tag:
111111
"""
112-
Gets the first div element.
112+
Gets the first element.
113113
114114
Returns:
115115
BeautifulSoup element.
116116
117-
Raises an Exception if a div cannot be found.
117+
Raises an Exception if an element cannot be found.
118118
"""
119119
for element in soup.contents:
120120
if element.name:

0 commit comments

Comments
 (0)