tudza (3) [Avatar] Offline
In your List Gotchas you say a = [] and then a = b. I believe you mean to say b = a.

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:0smilie [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> a = []
>>> a=b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'b' is not defined
anthony.briggs (30) [Avatar] Offline
Re: Possible error in chapter 1
Hi Tudza,

Yep, that's a typo on my part. It'll be fixed in future versions of the book.