]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114198: Rename dataclass __replace__ argument to 'self' (gh-114251)
authorPhillip Schanely <pschanely@gmail.com>
Thu, 18 Jan 2024 16:01:17 +0000 (11:01 -0500)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 16:01:17 +0000 (11:01 -0500)
commit339fc3c22446a148d27d9ec061594ac8d0abd33d
tree4e0b3fa5f4ba03abaef3c8b67f4f7f4e758da468
parent9c93350f582fe6f5fed2cd873869dfe4fbf2dfe8
gh-114198: Rename dataclass __replace__ argument to 'self' (gh-114251)

This change renames the dataclass __replace__ method's first argument
name from 'obj' to 'self'.
Lib/dataclasses.py
Misc/NEWS.d/next/Library/2024-01-18-10-07-52.gh-issue-114198.lK4Iif.rst [new file with mode: 0644]