Grumpy-pants spoil-sport [was Re: [Tutor] beginning to code]

Tim Chase python.list at tim.thechases.com
Mon Sep 25 12:52:55 EDT 2017


On 2017-09-26 02:29, Steve D'Aprano wrote:
> x = Parrot(name="Polly")
> 
> (using Python syntax for simplicity) and somebody tries to tell me
> that the value of x is anything but a Parrot instance named "Polly",

So this is a Polly-morphic constructor?

-tkc





More information about the Python-list mailing list