Commit 70cddc9
authored
Update type hint in Graph.__init__
A type hint for edges parameter in Graph constructor was wrong, as it has to be a List of Lists. The current List of Sets would fail on the attempts to subscript the Set members.1 parent b6664b1 commit 70cddc9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments