Style: Ending code blocks with `pass` vs `return`/`continue` vs nothing : <p>The <code>pass</code> statement in python does nothing except fill space. However, I've found it useful for designating the end of a long, complicated block of code, before the program continues:</p>

<pre><code>...
if condition is True:
    ...
    pass
...
</code></pre>

<p>essentially, the same effect as putting the <code>}</code> on its own line would have, in a language like C or Java.</p>

<p>Similarly, I've developed the habit of replacing <code>pass</code> with <code>continue</code> at the end of loops, or <code>return</code> at the end of functions that wouldn't otherwise return anything, for the same reason - and to make it more clear which block of code is ending:</p>

<pre><code>def someFunc():
    ...
    while someCondition is True:
        # complicated things
        ...
        continue
    ...
    return
</code></pre>

<p>When code is spaced either very narrowly or very widely, or when the code takes up a lot of vertical space, I think that putting these statements at the end of a code block makes the control flow clearer. I've done some searching, and haven't found a good source that said whether this is good or bad style (making good search keywords for this subject is annoyingly difficult). Moreover, PEP8 says nothing on the matter. I was hoping to get opinions on the subject and find what the general consensus is, if there is one.</p>
