Use two-dot as range operator

See PEP 204 - Range Literals: Getting closure.