Named tuples ARE NOT considered to be sub-types of tuples, and this is by design. You can read the SIP and relevant discussion for the reasons why.
Named tuples ARE NOT considered to be sub-types of tuples, and this is by design. You can read the SIP and relevant discussion for the reasons why.