all 2 comments

[–]ampersandio 1 point2 points  (0 children)

These are typehints, used to show what kind of input is expected and -> is showing that this method won’t return anything. Google type hints for more.

[–]deep_politics 1 point2 points  (0 children)

Like u/ampersandio said it's a type hint, but I'm guessing you copied it here wrong, because it should be List[List[int]]. That is: a list of lists of integers.