21 Aug
2020
21 Aug
'20
6:14 a.m.
On Thu, Aug 20, 2020, at 20:09, Steven D'Aprano wrote:
This is likely to be a rare and unusual case, but we don't want to break anyone who already has a dunder something like this:
def __getitem__(self, index, extra=None)
People do similar things with regular arguments to regular functions now, trusting callers not to pass stuff in for no reason that will break the function has been adequate there.