
Nov. 23, 2020
1 a.m.
I think your changed constructor: class Car: def __init__(self, manufacturer, variant): self.brand = manufacturer self.model = variant is a particularly good example, and the PEP should specify whether: Car("Chrysler", "PT Cruiser") is matched by: Car(brand="Chrysler", mod:=model) or: Car(manufacturer="Chrysler", mod:=variant) or both, or possibly even Frankenstein combinations like: Car(brand="Chrysler", mod:=variant) -jJ