pytorch
4c04f6da - [jit] fix python enumerate with start kwarg (#80585)

Commit
2 years ago
[jit] fix python enumerate with start kwarg (#80585) fix https://github.com/pytorch/pytorch/issues/80150 turns out we have a unittest for this case but there is a typo so the test does not run. With this fix both enumerate(x, start=1) and enumerate(x, 1) are supported. Pull Request resolved: https://github.com/pytorch/pytorch/pull/80585 Approved by: https://github.com/davidberard98
Author
Committer
Parents
Loading