diff options
author | Smosker <smosker@gmail.com> | 2016-11-15 16:10:56 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 16:10:56 +0400 |
commit | ac6d64168f29f149ab9d8d5ea6b5fe785db229c3 (patch) | |
tree | f97b5525aeab661b6c80d9ec8a0847d292adaf85 /hu-hu/yaml-hu.html.markdown | |
parent | 809e5d20a91c14adfd5ce54f481e674938c3719e (diff) |
Fix a bug
Should add return to double_numbers function, without it next expression wiil fall with "TypeError: 'NoneType' object is not iterable" error
for value in double_numbers(range(1000000)): # `test_non_generator`
print value
if value > 5:
break
Diffstat (limited to 'hu-hu/yaml-hu.html.markdown')
0 files changed, 0 insertions, 0 deletions