Native Python function to remove NoneType elements from list? September 24, 2023 by Tarik I think the cleanest way to do this would be: #lis = some list with NoneType's filter(None, lis)