Skip to content

Commit 455a8be

Browse files
OptionData is fixed (typing.Optional) (#18)
1 parent ea6fbe0 commit 455a8be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class OptionData(FileLineElementData):
9393

9494
# --------------------------------------------------------------------
9595
def __init__(
96-
self, parent: FileLineData, offset: typing.Offset[int], name: str, value: any
96+
self, parent: FileLineData, offset: typing.Optional[int], name: str, value: any
9797
):
9898
assert type(parent) is FileLineData
9999
assert offset is None or type(offset) is int

0 commit comments

Comments
 (0)