29 Aug
2019
29 Aug
'19
1:10 p.m.
On Thu, Aug 29, 2019 at 10:07 PM Philippe Prados
... and, runtime type checking (like https://github.com/agronholm/typeguard) must have a synthetised Union[] in __annotations__.
Runtime type checking tools can parse "str | int" too.
No need to implement runtime behavior for `str | int`.
Regards,
--
Inada Naoki