Docs: Standardise versionchanged text in weakref.rst (#122898)

This commit is contained in:
Rafael Fontenelle 2024-08-11 17:40:11 -03:00 committed by GitHub
parent 1069190bad
commit db8b83c2b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,7 @@ See :ref:`__slots__ documentation <slots>` for details.
>>> del k1 # d = {k2: 2}
.. versionchanged:: 3.9
Added support for ``|`` and ``|=`` operators, specified in :pep:`584`.
Added support for ``|`` and ``|=`` operators, as specified in :pep:`584`.
:class:`WeakKeyDictionary` objects have an additional method that
exposes the internal references directly. The references are not guaranteed to