News for hackers. Stuff that matters.
Re:The different uses of Python type hints by auscompgeek on Saturday April 15, 2023 @10:55PM (#35586843)
Variable annotations were only added in Python 3.6. Defining a typed namedtuple in Python 3.5 looked like this:

    Foo = typing.NamedTuple('Foo', [('a', int), ('b', str)])

There are no comments on this comment yet.