goast (6) [Avatar] Offline
The ' seems to change how the code looks, is this an error? Emac's doesn't like it for sure.
goast (6) [Avatar] Offline
Re: Listing 2.10 "Isn't?" or isnt?
MAybe the book is dead, change the code to is not. Seems to work so far, I haven't encountered a logical error. I'm suprised no one else bitched about this.
anthony.briggs (30) [Avatar] Offline
Re: Listing 2.10 "Isn't?" or isnt?
Hi goast,

I see where the error is - it looks like someone's corrected one of the if statements towards the bottom.

if new_location isn't None:

should be

if new_location is not None: