⏾ Concept Map

collections.namedtuple() ⚬|Documentation|1st|20251021140940-00-⌔

collections — Container datatypes — Python 3 documentation#namedtuple-factory-function-for-tuples-with-named-fields

namedtuple() Factory Function for Tuples with Named Fields

Named tuples assign meaning to each position in a tuple and allow for more readable, self-documenting code. They can be used wherever regular tuples are used, and they add the ability to access fields by name instead of position index.

Printed 2026-06-28.

(echo:: @ ᯤ)


Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community