News for hackers. Stuff that matters.
Re:Python 3 Types in the Wild by ghostwriter on Friday March 18, 2022 @12:06PM (#30723978)
yes, but the current way of defining it [1] is not very elegant:

    FirstName  = NewType('FirstName', str)
    PostalCode = NewType('PostalCode', str)

[1] https://docs.python.org/3/library/typing.html#newtype

There are no comments on this comment yet.