Don't shadow built-in type 'list'
Merge pull request #10253 from terminalmage/10245

Don't shadow built-in type 'list'