def foo(bar, baz): pass def main(bar): for baz in []: foo(bar, baz)