Python defining methods
<p>I have been reading some python code out there and I see some variations on how one write method.</p>

<p>Some write (example 1):</p>

<pre><code>def A() :
*method A implementation*

def B():
*method B implementation*
</code></pre>

<p>Others write (example 2):</p>

<pre><code>def A() :
*method A implementation*

   def B():
   *method B implementation*
</code></pre>

<p>Does anyone know the difference, pro and cons of example 1 versus example 2 ?</p>

<p>Thanks =)</p>
