bpo-44019: Implement operator.call(). (GH-27888)
Having `operator.call(obj, arg)` mean `type(obj).__call__(obj, arg)` is consistent with the other dunder operators. The semantics with `*args, **kwargs` then follow naturally from the single-arg semantics.
A
Antony Lee committed
6587fc60d447603fb8c631d81d9bb379f53c39ab
Parent: 8d87291
Committed by GitHub <noreply@github.com>
on 9/24/2021, 3:22:49 PM