[Tutor] How to type annotate complex dictionary containing lambdas?

Mats Wichmann mats at wichmann.us
Sun Nov 17 17:09:10 EST 2019


On 11/17/19 12:46 PM, boB Stepp wrote:

> Apparently because of the lambda outside of the list, I apparently
> must annotate them as "Callable". 

yup, you're right, I spaced out that bit when trying to definitively 
tell you the value was either a str or a List.  Sigh...



More information about the Tutor mailing list