goast (6) [Avatar] Offline
#1
The ' seems to change how the code looks, is this an error? Emac's doesn't like it for sure.
goast (6) [Avatar] Offline
#2
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
#3
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:

Thanks,

Anthony