Skip to content

Commit

Permalink
Fix inline_expr execution (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo authored Jan 14, 2025
1 parent 51a2511 commit 726a7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsexprtools/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ExprVar(int):
parent_expr: inline_expr | None

def __new__(
cls, x: ByteData, __parent_expr: inline_expr | None, /, *args: Any, **kwargs: Any
cls, x: ByteData, __parent_expr: inline_expr | None = None, /, *args: Any, **kwargs: Any
) -> ExprVar:
return super().__new__(cls, 0)

Expand Down

0 comments on commit 726a7de

Please sign in to comment.