# Feature or enhancement ### Proposal: This issue is to make the concept of ["named tuple"](https://docs.python.org/3/glossary.html#term-named-tuple) support the `__replace__` protocol. `collections.namedtuple` and `typing.NamedTuple` already support the `__replace__` protocol in: - #108752 [`PyStructSequence`](https://docs.python.org/3/c-api/tuple.html#struct-sequence-objects)s are also [named tuples](https://docs.python.org/3/glossary.html#term-named-tuple) but they do not support the `__replace__` protocol yet. It would be convenient if `PyStructSequence` be supported in `copy.replace()`. ### Has this already been discussed elsewhere? I have already discussed this feature proposal on Discourse ### Links to previous discussion of this feature: - #108751 - https://discuss.python.org/t/generalize-replace-function/28511 - #109956 - #109174 - #109175 <!-- gh-linked-prs --> ### Linked PRs * gh-110223 <!-- /gh-linked-prs -->