News for hackers. Stuff that matters.
Re:Python 3 Types in the Wild by jamincan on Friday March 18, 2022 @02:03PM (#30725485)
Yeah, that is the syntax for a type alias. You can use NewType to create an actual subclass of the type instead. https://docs.python.org/3/library/typing.html#newtype

There are no comments on this comment yet.