Commit 8634c8f
committed
pythongh-145099: Fix frozendict.__doc__ using dict's docstring
PyFrozenDict_Type.tp_doc was set to `dictionary_doc`, which describes
`dict()` — saying "dict() -> new empty dictionary" throughout. Since
frozendict is a separate type, it needs its own docstring. Add a
`frozendict_doc` with correct "frozendict()" references and a note
that frozendict is immutable and hashable.
https://claude.ai/code/session_01EdeU6enhg5YoLvKmBPpiZf1 parent f5c2531 commit 8634c8f
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1803 | 1803 | | |
1804 | 1804 | | |
1805 | 1805 | | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
1806 | 1811 | | |
1807 | 1812 | | |
1808 | 1813 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8123 | 8123 | | |
8124 | 8124 | | |
8125 | 8125 | | |
| 8126 | + | |
| 8127 | + | |
| 8128 | + | |
| 8129 | + | |
| 8130 | + | |
| 8131 | + | |
| 8132 | + | |
| 8133 | + | |
| 8134 | + | |
| 8135 | + | |
| 8136 | + | |
| 8137 | + | |
| 8138 | + | |
8126 | 8139 | | |
8127 | 8140 | | |
8128 | 8141 | | |
| |||
8137 | 8150 | | |
8138 | 8151 | | |
8139 | 8152 | | |
8140 | | - | |
| 8153 | + | |
8141 | 8154 | | |
8142 | 8155 | | |
8143 | 8156 | | |
| |||
0 commit comments