Skip to content

Commit 9c17c61

Browse files
committed
Fix type hints with default nulls - all remaining
Used regex for search: : \w+ = None
1 parent ff55efd commit 9c17c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/common/actions/wheel_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
class WheelActions(Interaction):
2525
def __init__(self, source: Optional[WheelInput] = None):
26-
if source is None:
26+
if not source:
2727
source = WheelInput("wheel")
2828
super().__init__(source)
2929

0 commit comments

Comments
 (0)