O'Reilly logo
  • Longxiang Lyu thinks this is interesting:

This is the reason the first parameter needs to be pet_name.

From

Cover of Python Crash Course

Note

parameters with default value should be placed from the end of para-list.