Small generator correction that leads to more stability in its result.

This commit is contained in:
Dave Halter committed 2015-11-11 11:34:18 +01:00
1 parent f1c827821b
commit 239f0d7213
2 files changed
+15 -3

No files matched your search

+12
View File
@@ -131,6 +131,18 @@ def simple():
yield ""
a, b = simple()
#? int() str()
a
# For now this is ok.
#?
b
def simple2():
yield 1
yield ""
a, b = simple2()
#? int()
a
#? str()