Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d78afdb

Browse filesBrowse files
authored
Better type hint
1 parent 16285ff commit d78afdb
Copy full SHA for d78afdb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/idom/utils.py

Copy file name to clipboardExpand all lines: src/idom/utils.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class HTMLParseError(etree.LxmlSyntaxError): # type: ignore[misc]
210210
"""Raised when an HTML document cannot be parsed using strict parsing."""
211211

212212

213-
def del_html_body_transform(vdom: dict[str, Any]) -> dict[str, Any]:
213+
def del_html_body_transform(vdom: VdomDict) -> VdomDict:
214214
"""Transform intended for use with `html_to_vdom`.
215215
216216
Removes `<html>`, `<head>`, and `<body>` while preserving `<head>` and `<body>` children.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.