How does a method of a subclass become a method of the base class?

Cameron Simpson cs at cskk.id.au
Sun Mar 26 22:10:38 EDT 2023


On 27Mar2023 12:03, Cameron Simpson <cs at cskk.id.au> wrote:
>On 27Mar2023 01:53, Jen Kris <jenkris at tutanota.com> wrote:
>>But that brings up a new question.  I can create a class instance with 
>>x = BinaryConstraint(),
>
>That makes an instance of EqualityConstraint.

Copy/paste mistake on my part. This makes an instance of 
BinaryConstraint.

Apologies,
Cameron Simpson <cs at cskk.id.au>


More information about the Python-list mailing list