Skip to content

Commit 39ef5d8

Browse files
committed
Fix for redundant cast
1 parent 8602220 commit 39ef5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/celpy/celtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def __new__(
443443
cast(bytes, source.get(StringType("value"))),
444444
)
445445
elif isinstance(source, Iterable):
446-
return super().__new__(cls, cast(Iterable[int], source))
446+
return super().__new__(cls, source)
447447
else:
448448
raise TypeError(f"Invalid initial value type: {type(source)}")
449449

0 commit comments

Comments
 (0)