SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-132426: Add get_annotate_from_class_namespace replacing get_annotate_function (#132490)

As noted on the issue, making get_annotate_function() support both types and
mappings is problematic because one object may be both. So let's add a new one
that works with any mapping.

This leaves get_annotate_function() not very useful, so remove it.
J
Jelle Zijlstra committed
7cb86c5defa17147c67b56c4227e74e4c5968686
Parent: 5a57248
Committed by GitHub <noreply@github.com> on 5/4/2025, 2:26:42 PM