# Bug report I made a typo that made it into the final code: https://github.com/python/cpython/blob/00ffdf27367fb9aef247644a96f1a9ffb5be1efe/Lib/dataclasses.py#L1211-L1212 It should had been `__dictoffset__` not `__dictrefoffset__`. Fixing plan: - Add tests for C types with `__dictoffset__`, so it won't happen again :) - Fix the typo <!-- gh-linked-prs --> ### Linked PRs * gh-123941 * gh-123991 * gh-123992 <!-- /gh-linked-prs -->
Bug report
I made a typo that made it into the final code:
cpython/Lib/dataclasses.py
Lines 1211 to 1212 in 00ffdf2
It should had been
__dictoffset__not__dictrefoffset__.Fixing plan:
__dictoffset__, so it won't happen again :)Linked PRs
_get_slotsindataclasses.py#123941_get_slotsindataclasses.py(GH-123941) #123991_get_slotsindataclasses.py(GH-123941) #123992