Re:Type hints cheat sheet (Python 3)
by sdrothrock on Tuesday December 11, 2018 @10:05PM
(#18661050)
I think it's just the nature of how it expanded from type hinting.
That is, originally, you were simply hinting at the type of the variable through "pi: float" rather than declaring it. In that standalone context, the format makes sense to me.
That is, originally, you were simply hinting at the type of the variable through "pi: float" rather than declaring it. In that standalone context, the format makes sense to me.