Agent-Hellboy / Agent-Hellboy/trace-dkey
Frozen dataclass can be hashable
Đang mở
enhancement
hacktoberfest
- Ngôn ngữ chính
- Python
- Star
- 8
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```py
from dataclasses import dataclass
@dataclass(frozen=True)
class Data:
a: int
b: int
data1 = Data(1,2)
print(data1)
dict = {data1: "firstdata"}
print(dict)
```
For now, we need a different branch to handle this scenario, and as we can assume this one is also `_ast.Call` object
we need to add a new branch for _ast.Call for frozen type which can be hashable
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.