title: numpy: circular definition in source code
body: <p>I went to look up the source to <a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.transpose.html" rel="nofollow">np.transpose</a> ( <a href="https://github.com/numpy/numpy/blob/v1.9.1/numpy/core/fromnumeric.py#L495" rel="nofollow">source</a> ) and the definition seems circular?</p>
  
  <pre><code>def transpose(a, axes=None):
  
      try:
          transpose = a.transpose
      except AttributeError:
          return _wrapit(a, 'transpose', axes)
      return transpose(axes)
  </code></pre>
  
  <p>If all <code>transpose(a)</code> does is call <code>a.transpose</code> then how do we look up <code>a.transpose</code>?</p>
  
  <hr>
  
  <p>What part of the code is doing the transposition?  All I see is referral to another transpose function.</p>