Mar-03-2020, 11:15 PM
suppose i call iter() to create an iterator from a large list. if i subsequently modify that list, will that impact that iterator or is an iterator from iter() completely independent, such as by making a copy of the origin object passed in the call to iter()?
based on readings of the python documentation, it appears that the data object is used, but it does not indicate if that is a copy or not.
based on readings of the python documentation, it appears that the data object is used, but it does not indicate if that is a copy or not.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.