Skip to content

Commit

Permalink
Fix: Unintentionally Modified Range
Browse files Browse the repository at this point in the history
  • Loading branch information
kapiliyer authored and hdrodz committed Aug 5, 2022
1 parent d640efd commit a9ad87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/indexes/range.py
Expand Up @@ -135,7 +135,7 @@ def __new__(

# validate the arguments
if com.all_none(start, stop, step):
raise TypeError("RangeIndex(...) must be called with integers/floats")
raise TypeError("RangeIndex(...) must be called with integers")

start = ensure_python_int(start) if start is not None else 0

Expand Down

0 comments on commit a9ad87e

Please sign in to comment.