summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/php-cn.html.markdown
diff options
context:
space:
mode:
authorSmosker <smosker@gmail.com>2016-11-15 16:10:56 +0400
committerGitHub <noreply@github.com>2016-11-15 16:10:56 +0400
commitac6d64168f29f149ab9d8d5ea6b5fe785db229c3 (patch)
treef97b5525aeab661b6c80d9ec8a0847d292adaf85 /zh-cn/php-cn.html.markdown
parent809e5d20a91c14adfd5ce54f481e674938c3719e (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 'zh-cn/php-cn.html.markdown')
0 files changed, 0 insertions, 0 deletions