On Sat, Feb 7, 2009 at 10:04 AM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote: > def f(): > v = yield *g() > print v > > def g(): > yield 42 > return "spam" Function g violates the current limitation that generators can't return with a value. So can g only be used using "yield *" then, or would that limitation be removed? - Willem
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4