TIL: tuple[float] isn't the way to convey a tuple of floats, because tuples commonly contain different types. instead you must do tuple[float,float,float] for 3 floats or tuple[float,...] for any length
https://docs.python.org/3/library/typing.html#annotating-tuples
=> More informations about this toot | More toots from pamelafox@fosstodon.org
text/gemini
This content has been proxied by September (ba2dc).