Skip to content

Commit 35cf2fd

Browse files
committed
Improve typing
1 parent 38ab2aa commit 35cf2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def _get_module_data(
240240
xml_1: etree.Element,
241241
locator: str,
242242
key: str | None = None,
243-
xml_2: etree.Element = None,
243+
xml_2: etree.Element | None = None,
244244
legacy: bool = False,
245245
) -> ModuleData:
246246
"""Helper-function for _energy_device_info_finder() and _appliance_info_finder().

0 commit comments

Comments
 (0)