Skip to content

Commit

Permalink
Fix type hint for sourcefile parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Nov 29, 2023
1 parent b3f7bb2 commit 3b113b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion varname/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def exec_code(
globals: Dict[str, Any] = None,
locals: Dict[str, Any] = None,
/,
sourcefile: PathLike = None,
sourcefile: PathLike | str = None,
frame: int = 1,
ignore: IgnoreType = None,
**kwargs: Any,
Expand Down

0 comments on commit 3b113b0

Please sign in to comment.