title: Source code for str.split?
body: <p>I would like to see how <code>str.split()</code> is implemented in Python  Here's what I tried:</p>
  
  <pre><code>&gt; inspect.getsource(str.split)
  
  TypeError: &lt;method 'split' of 'str' objects&gt; is not a module, 
  class, method, function, traceback, frame, or code object
  </code></pre>
  
  <p>Copying the other example on StackOverflow has not work: <a href="https://stackoverflow.com/questions/11175131/code-for-greatest-common-divisor-in-python">Code for Greatest Common Divisor in Python</a></p>