[Python-Dev] unscriptable?

Benjamin Peterson musiccomposition at gmail.com
Sat Apr 19 01:03:09 CEST 2008

On Fri, Apr 18, 2008 at 5:43 PM, Benjamin Peterson
<musiccomposition at gmail.com> wrote:
> Consider this error:
>  >>> 3["something"]
>  Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>  TypeError: 'int' object is unsubscriptable
>  "unscriptable" seems rather ambiguous. How about "[object] cannot be indexed"?
Titus just noticed that I confused "unscriptable" with
"unsubscriptable."  :P Still, though, unsubscriptable seems to be a
Python invented word.
What does (un)subscriptable even mean?
>  --
>  Cheers,
>  Benjamin Peterson

Benjamin Peterson

More information about the Python-Dev mailing list