Commit e3f6938a by Pariksheet Pinjari Committed by Tianqi Chen

Spelling mistake corrected (#945)

parent 29e68f5f
......@@ -20,7 +20,7 @@ class Array(NodeBase):
return [self[idx] for idx in range(start, stop, step)]
if i >= len(self):
raise IndexError("array index out ot range")
raise IndexError("array index out of range")
return _api_internal._ArrayGetItem(self, i)
def __len__(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment