Polymorphic Functions In Python Example Code