Files
pytorch/caffe2/python
Aaron Gokaslan dd5e6e8553 [BE]: Merge startswith calls - rule PIE810 (#96754)
Merges startswith, endswith calls to into a single call that feeds in a tuple. Not only are these calls more readable, but it will be more efficient as it iterates through each string only once.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/96754
Approved by: https://github.com/ezyang
2023-03-14 22:05:20 +00:00
..
2021-03-30 13:09:52 -07:00
2020-12-05 16:35:34 -08:00
2023-01-19 08:46:50 +00:00
2021-03-30 13:09:52 -07:00
2023-01-19 08:46:50 +00:00
2021-03-30 13:09:52 -07:00
2022-04-11 21:55:59 +00:00
2023-01-19 08:46:50 +00:00
2023-01-19 08:46:50 +00:00