Hi everyone,
What exactly is Tuple in the typing module? What does it do?
This is the definition from its website.
https://docs.python.org/3/library/typing.html
"A type alias is defined by assigning the type to the alias"
I have no idea what that means.
Here's the example from the documentation
C W wrote:
> Hi everyone,
>
> What exactly is Tuple in the typing module? What does it do?
>
> This is the definition from its website.
> https://docs.python.org/3/library/typing.html
> "A type alias is defined by assigning the type to the alias"
>
> I have no idea what that means.
>
> Here's
On 17/08/2019 00:46, C W wrote:
The formatting seems messed up I'll try to straighten it out.
I hope I get it right!
Caveat: I'm no expert in the typing module, I've read the
docs but never found any use for it.
> What exactly is Tuple in the typing module? What does it do?
It specifies a tuple