Python · The collections Module
Given a namedtuple type, how do you discover its field names at runtime (e.g. to iterate over them or serialize generically)?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
