On Fri, Feb 19, 2021 at 9:17 PM Dennis Sweeney <[email protected]>
wrote:
> Does this work?
>
> >>> tuple[(int,) * 7 + (str,)]
> tuple[int, int, int, int, int, int, int, str]
Even better: TImeTuple = tuple[(int,) * 7 + (str,)]
and then:
def time() ->TimeTuple
...
-CHB
--
Christopher Barker, PhD (Chris)
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/3PEIH3LYKDRB3E57HFYAQD2Y3GKFCJ4R/
Code of Conduct: http://python.org/psf/codeofconduct/