[Python-Dev] Q: is concatenation and append really the same thing?

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Fri, 16 Jun 2000 18:47:01 +0200


Python 1.6a2 (#0, Jun 14 2000, 23:07:49) [MSC 32 bit (Intel)] on win32
>>> (1, 2, 3) + [1, 2, 3]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: can only append tuple (not "list") to tuple

is "append" really the right word here?

sure confused the hell out of yours truly...  ("there's no
friggin' append call in this code")

</F>