Doc, error message

Is the Python exception already set? Or should we still set the error, but then return NULL?