> Well, _I_ would have expected this to work: > > Python 2.1 (#4, Jun 6 2001, 08:54:49) > [GCC 2.95.2 19991024 (release)] on linux2 > Type "copyright", "credits" or "license" for more information. > >>> x = ([],[],[]) > >>> x[1] += [1] > Traceback (most recent call last): > File "<stdin>", line 1, in ? > TypeError: object doesn't support item assignment Yes, but that can't be fixed without breaking other things. Too bad. It's not like this is an important use case in real life. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4