[issue46562] Add typeof or enum behavior in the typing module

2022-01-28 Thread Pedro Torres
Change by Pedro Torres : -- title: Add typeof or enum behavior for in the Typing module -> Add typeof or enum behavior in the typing module ___ Python tracker <https://bugs.python.org/issu

[issue46562] Add typeof or enum behavior for in the Typing module

2022-01-28 Thread Pedro Torres
Change by Pedro Torres : -- title: Add typeof or eum behavior for in the Typing module -> Add typeof or enum behavior for in the Typing module ___ Python tracker <https://bugs.python.org/issu

[issue46562] Add typeof or eum behavior for in the Typing module

2022-01-28 Thread Pedro Torres
New submission from Pedro Torres : Currently, the addition of Annotated in PEP 593 on Python 3.9 allows adding arbitrary metadata for type hints. Let's consider the following time_available_online: list[str] = [ '1m', '5m', '1d' ] ``` Hour = An