Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Typos in Expert Python Programming that have not reported in errata.
- p.64 double quote is missed and extra parenthesis
- ... raise DistinctError((“This value already
- ... “exists for ‘%s’”) % \
- ... str(self[existing_key]))
- should be
- ... raise DistinctError("This value already "
- ... "exists for ‘%s’" %
- ... str(self[existing_key]))
- p.64 . should be :
- ... def dir(self):
- ... print 'I am the %s folder.' % self.name
- should be
- ... def dir(self):
- ... print 'I am the %s folder:' % self.name
- p. 71
- >>> from random import Random
- >>> random.Random.__mro__
- should be
- >>> from random import Random
- >>> Random.__mro__
Advertisement
Add Comment
Please, Sign In to add comment