yield: make it steal the passed argument
the idea is that stealing the value allows us to immediately free the variable in more case when it's unused otherwise we would always have to continue the generator in order to decrease the refcount
Showing
Please register or sign in to comment