3.13 adds `__replace__` as a dunder on a variety of classes, which is used by the new `copy.replace`. See [here](https://github.com/python/cpython/issues/108751) for more details.
Activity
max-muoto commentedon Jul 4, 2024
Fixed by #12265 we can remove the other errors once the next version of MyPy is released and we get this change in: python/mypy#17469