[Python-Dev] Updating inspect APIs