Fix Python ranges

Was off by wrapped indent.