Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix doc warnings
Fix also indentation.
  • Loading branch information
vstinner committed Feb 13, 2026
commit 5e4a284f550241b681b04ed64ed707b97054e6b6
12 changes: 6 additions & 6 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5851,19 +5851,19 @@

* :class:`dict` has more methods than :class:`frozendict`:
Comment thread
vstinner marked this conversation as resolved.
Outdated

* :meth:`~dict.__delitem__`
* :meth:`~dict.__setitem__`
* :meth:`~!dict.__delitem__`

Check warning on line 5854 in Doc/library/stdtypes.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: !dict.__delitem__ [ref.meth]
* :meth:`~!dict.__setitem__`

Check warning on line 5855 in Doc/library/stdtypes.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:meth reference target not found: !dict.__setitem__ [ref.meth]
Comment thread
vstinner marked this conversation as resolved.
Outdated
* :meth:`~dict.clear`
* :meth:`~dict.pop`
* :meth:`~dict.popitem`
* :meth:`~dict.setdefault`
* :meth:`~dict.update`

* A frozendict can be hashed with ``hash(frozendict)`` if all keys and
values can be hashed.
* A frozendict can be hashed with ``hash(frozendict)`` if all keys and
Comment thread
vstinner marked this conversation as resolved.
Outdated
values can be hashed.

* ``frozendict |= other`` does not modify the frozendict in-place but
creates a new frozen dictionary.
* ``frozendict |= other`` does not modify the frozendict in-place but
Comment thread
vstinner marked this conversation as resolved.
Outdated
creates a new frozen dictionary.

.. versionadded:: next

Expand Down
Loading