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
Update Doc/reference/datamodel.rst
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
  • Loading branch information
JelleZijlstra and willingc authored May 26, 2025
commit 596bdbe7ad0ded516c131b03386c32322e74b45b
2 changes: 1 addition & 1 deletion Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ Special attributes
.. warning::

Accessing the :attr:`!__annotations__` attribute directly
on a class object may return annotations for the wrong class
on a class object may return annotations for the wrong class, specifically
in certain cases where the class, its base class, or a metaclass
is defined under ``from __future__ import annotations``.
See :pep:`749 <749#pep749-metaclasses>` for details.
Expand Down