mirror of
https://github.com/python/cpython.git
synced 2026-06-26 12:54:12 -04:00
46abfc1416
This uses the heuristic of assuming a named tuple is a subclass of tuple with a _fields attribute. This change means that contents of a named tuple wouldn't be converted - if a user wants to have ConvertingTuple functionality from a namedtuple, they will have to implement it themselves.