Tag: int'-object-is-not-subscriptable

Home » int'-object-is-not-subscriptable
int object is not subscriptable
Post

Meaning of int’-object-is-not-subscriptable?

int’-object-is-not-subscriptable Subscripting is not a feature of int objects. There is no way to use a subscript with an int object, thus this is not an option. The int object cannot be subclassed in Python since the language does not permit deep subclassing. Given this, it’s not surprising that Python can’t be used to implement...