mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
An interesting hack, but more localized in scope than #135230. This may be a breaking change if people intentionally keep the original class around when using `@dataclass(slots=True)`, and then use `__dict__` or `__weakref__` on the original class. Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dataclass_module_1.py | ||
| dataclass_module_1_str.py | ||
| dataclass_module_2.py | ||
| dataclass_module_2_str.py | ||
| dataclass_textanno.py | ||