# namedtuple: TypeError: N.__new__() missing 1 required positional argument: 'b'; assignment -> AttributeError: can't set attribute (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/namedtuple-typeerror-n-new-missing-1-required-positional-argument-b-assignment-attributeerror-can-t-c7f4f0c495ae
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, namedtuple

Duplicate field -> ValueError: Encountered duplicate field name: 'a'; keyword field -> 'Type names and field names cannot be a keyword: 'class''.
