Trying to understand nested loops

Dan Stromberg drsalists at gmail.com
Fri Aug 5 23:53:03 EDT 2022


On Fri, Aug 5, 2022 at 12:54 PM Grant Edwards <grant.b.edwards at gmail.com>
wrote:

> In C, this doesn't do what it looks like it's supposed to do.
>
>    if (foo)
>      do_this();
>      and_this();
>    then_do_this();
>
It's been quite a while since I used C, but with the right compiler
flag(s), I think this may be a thing of the past when compiling with gcc:
https://developers.redhat.com/blog/2016/02/26/gcc-6-wmisleading-indentation-vs-goto-fail


More information about the Python-list mailing list