[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-15 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-15 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset a0da90720d5330c53b8083272374ede1c7a1e33a by Miss Islington (bot) in branch '3.8': bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) (GH-22256) https://github.com/python/cpython/commit/a0da90720d5330c53b8083272374ed

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-15 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 0cc037f8a72c283bf64d1968e34cbdc22b0e3010 by Miss Islington (bot) in branch '3.9': bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) (GH-22255) https://github.com/python/cpython/commit/0cc037f8a72c283bf64d1968e34cbd

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +21311 pull_request: https://github.com/python/cpython/pull/22256 ___ Python tracker ___ __

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-15 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 7bcc6456ad4704da9b287c8045768fa53961adc5 by Neeraj Samtani in branch 'master': bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) https://github.com/python/cpython/commit/7bcc6456ad4704da9b287c8045768fa53961adc5 --

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21310 pull_request: https://github.com/python/cpython/pull/22255 ___ Python tracker _

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-13 Thread Neeraj
Change by Neeraj : -- keywords: +patch nosy: +neerajsamtani nosy_count: 3.0 -> 4.0 pull_requests: +21288 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22234 ___ Python tracker _

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-13 Thread Eric V. Smith
Eric V. Smith added the comment: I think that's a good change. It makes it clear when reading the source that the print statement at the end of the loop is only executed for odd numbers. Sure, you know this if you execute the code, or if you know how python for loops and continue work. But s

[issue41776] Revise example of "continue" in the tutorial documentation

2020-09-13 Thread AmirHossein Haji Mohammad Sadegh
New submission from AmirHossein Haji Mohammad Sadegh : It's not wrong but in the example for "continue" in the tutorial, the code prints "Found an even number" for even numbers and "Found a number" for odd numbers. Maybe it would be better if we print "Found an odd number" for odd numbers. Li