Python syntax resolved