[Tutor] the use of the COLON

Mats Wichmann mats at wichmann.us
Thu May 11 15:40:43 EDT 2023


On 5/11/23 13:29, john fabiani wrote:
> Hi,
> I have never seen the following syntax.   But it works!  Can someone 
> explain how it works or provide a link that have me understand what is 
> happening?
> Thanks
> Johnf
> dummy_user_list: list=[["johnf", "jfabiani1947"]]

https://docs.python.org/3/library/typing.html



More information about the Tutor mailing list