Jun-15-2022, 10:47 PM
normally a generator initially returns a reference to an instance of that generator which is holding specific parameters and/or data it needs to do its particular thing. but what if the given parameters are out of bounds for what makes sense to that generator. is raising an exception the right way to do this (as opposed to only yielding None, for example)?
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.