Re: [Tutor] What is Tuple in the typing module?

2019-08-20 Thread C W
Thank you, Peter and Alan. Both very helpful. I was able to figure it out. Cheers! On Sat, Aug 17, 2019 at 5:45 AM Alan Gauld via Tutor wrote: > 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

Re: [Tutor] What is Tuple in the typing module?

2019-08-17 Thread Alan Gauld via Tutor
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

Re: [Tutor] What is Tuple in the typing module?

2019-08-17 Thread Peter Otten
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

[Tutor] What is Tuple in the typing module?

2019-08-17 Thread C W
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