svendotnet

python_yield_1

May 16th, 2021 (edited)
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def foo():
  2.     yield 1;
  3.     return 2
  4.  
RAW Paste Data