title: Python C Api transfer a PyObject * into c array
body: <p>I used python c api and wish to get an array back from python. I returned a python array from the python side and want to transfer the PyObject* result into a c array so I can use it.</p>
  
  <p>Is there anyway I can do that?</p>
  
  <p>Side questions: In what circumstance trying to return an element in the array like</p>
  
  <pre><code>return arr[3]
  </code></pre>
  
  <p>will cause the PyObject_callobject return NULL?</p>
  
  <pre><code>return arr
  </code></pre>
  
  <p>does give me something</p>