match container:
case Success(inner):
return inner
case Failure(inner):
return 'some_default'
> On 24 Jun 2020, at 14:51, Alfonso L. Castaño <alfonsoluis.castanom@um.es> wrote:
>
> I have just seen it published, looks great, thanks to all the authors!
> https://www.python.org/dev/peps/pep-0622/
> _______________________________________________
> Typing-sig mailing list -- typing-sig@python.org
> To unsubscribe send an email to typing-sig-leave@python.org
> https://mail.python.org/mailman3/lists/typing-sig.python.org/
> Member address: jakub@stasiak.at
Thanks for this, it seems immediately relevant to my interests, I’d have likely not known about it for a good while if not for your email. Subscribbed to python-dev immediately. :)
Best,
Jakub
_______________________________________________
Typing-sig mailing list -- typing-sig@python.org
To unsubscribe send an email to typing-sig-leave@python.org
https://mail.python.org/mailman3/lists/typing-sig.python.org/
Member address: n.a.sobolev@gmail.com