0

What exactly does yield keyword do?

8th Feb 2016, 7:25 AM
Ashford Nokash
Ashford Nokash - avatar
1 Respuesta
+ 3
yield give you that your function become generator. or in another word function return partial result and when caling again another partial results . just Like next()
10th Feb 2016, 8:05 PM
Zbigniew Ignasiak
Zbigniew Ignasiak - avatar