mirror of
https://github.com/python/cpython.git
synced 2026-05-09 12:00:49 +00:00
gh-148947: dataclasses: fix error on empty __class__ cell (GH-148948)
Also add a test demonstrating the need for the existing "is oldcls" check.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dataclass_module_1.py | ||
| dataclass_module_1_str.py | ||
| dataclass_module_2.py | ||
| dataclass_module_2_str.py | ||
| dataclass_textanno.py | ||