Skip to content

Commit adfba2f

Browse files
committed
change Iterator to Sequence
1 parent f576650 commit adfba2f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

generator/reference.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
PY5_SKIP_RETURN_TYPES = set()
2727

2828
PARAM_TYPE_OVERRIDES = {
29-
"boolean[]": "Iterator[bool]",
30-
"char[]": "Iterator[chr]",
31-
"float[]": "Iterator[float]",
32-
"float[][]": "Iterator[Iterator[float]]",
33-
"int[]": "Iterator[int]",
29+
"boolean[]": "Sequence[bool]",
30+
"char[]": "Sequence[chr]",
31+
"float[]": "Sequence[float]",
32+
"float[][]": "Sequence[Sequence[float]]",
33+
"int[]": "Sequence[int]",
3434
}
3535

3636
RETURN_TYPE_OVERRIDES = {

0 commit comments

Comments
 (0)