Range object should support get_item operation :)
gpython
>>>a=range(10)
>>>a[0]
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>FIXMElineofsourcegoeshereTypeError: "'range' object is not subscriptable"
python3
Python3.7.0 (v3.7.0:1bf9cc5093, Jun262018, 23:26:24)
[Clang6.0 (clang-600.0.57)] ondarwinType"help", "copyright", "credits"or"license"formoreinformation.
>>>a=range(10)
>>>a[0]
0
Range object should support get_item operation :)
gpython
python3