Yield successive n-sized chunks from lst.
(lst, n)
| 620 | |
| 621 | |
| 622 | def chunks(lst, n): |
| 623 | """Yield successive n-sized chunks from lst.""" |
| 624 | for i in range(0, len(lst), n): |
| 625 | yield lst[i: i + n] |
| 626 | |
| 627 | |
| 628 | def check_output_dir(args, expected_items=0): |
nothing calls this directly
no outgoing calls
no test coverage detected