22 Apr
2021
22 Apr
'21
7:28 p.m.
On 4/22/2021 9:15 AM, Paul Moore wrote:
Absolutely, I see no problem with "use duck typing for this argument" being opt-in.
As in x: 'duck'? or x: '!', where '!' means 'infer it!', or from typing import Infer ... x: Infer ? Ditto for -> <infer indicator> ? -- Terry Jan Reedy