Discussion about this post

User's avatar
Reinhard Schaeck's avatar

Hi,

I really like the "Harry Potter Series" about OOP (although I have to admit that so far I haven't read a single Harry Potter book - shame on me). I worked through all articles and found only one single small bug (I think it is a bug?).

In #6 when introducing the __repr__ method the test starts:

# In a new REPL session

>>> from hogwarts_magic import Student

It should be:

>>> from hogwarts_magic import Student, Professor

Just my five cent...

Reinhard

1 more comment...

No posts

Ready for more?