Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.9.1
-
None
Description
The difference between Python Sequences and Iterables is that Sequences have a length while Iterables do not need to have a length.
Type hints for QComboBox.addItems require a Sequence while at runtime, it works with Iterables, too, see attached code.
The type hint could/should be modified to accept Iterable instead of only Sequence.