This documents the development version of NetworkX. Documentation for the current release can be found here.
Return list of ints from sequence of integral numbers.
All elements of the sequence must satisfy int(element) == element or a ValueError is raised. Sequence is iterated through once.
If sequence is a list, the non-int values are replaced with ints. So, no new list is created