• @o11c
    link
    11 year ago

    and I already explained that Union is a thing.

    • @lysdexic
      link
      English
      1
      edit-2
      1 year ago

      I’m not sure you understand that what a union does or does not do is completely irrelevant and besides the point. Python’s protocols add support for structural subtyping, and enable both runtime and build-time type checks without requiring major code changes. Don’t you understand what that means?