Remove Python-specific code