I was asked recently what this means in python:
>>> char : str
I had no idea. I'd never seen that before. I checked the docs and there isn't anything like that. One person's suggestion was that it is static type declaration, but there is absolutely nothing in the docs about that either.
With the above, if I
>>> type(char) it fails
If I >>> char : str = 'abc' it works, and the results of type(char) is <class: str>. It can't be static declaration though, because I can >>> char : str = 4 and type(char) becomes <class: int>.
So I come here to collect the wisdom of the many SO overlords. What does that mean?