Agent-Hellboy / Agent-Hellboy/trace-dkey
Frozen dataclass can be hashable
オープン
enhancement
hacktoberfest
- 主要言語
- Python
- スター
- 8
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。