diff options
author | Genki Marshall <genkimarshall@gmail.com> | 2015-07-24 13:21:01 -0700 |
---|---|---|
committer | Genki Marshall <genkimarshall@gmail.com> | 2015-07-24 13:21:01 -0700 |
commit | ac2dfe7dc782cf1663944c0de48f6bbe810a56d8 (patch) | |
tree | 818cbea9cc14e5d9fde1dd33133484c299234164 /red.html.markdown | |
parent | bd998e10a8bd0f7c79223d861b42a4a6238ce9ec (diff) |
[python3/en] Use `next()` instead of `__next__()`
Fixes issue #1148.
The reasoning is well explained by the issue. One can also refer to the
docs [0], showing it is more idiomatic to use `next()`.
[0]: https://www.python.org/dev/peps/pep-3114/
#double-underscore-methods-and-built-in-functions
Diffstat (limited to 'red.html.markdown')
0 files changed, 0 insertions, 0 deletions