SIGN IN SIGN UP

gh-119180: Document the `format` parameter in `typing.get_type_hints()` (#143758)

Do not mention `__annotations__` dictionaries, as this is slightly
outdated since 3.14.

Rewrite the note about possible exceptions for clarity. Also do not
mention imported type aliases, as since 3.12 aliases with the `type`
statement do not suffer from this limitation anymore.
V
Victorien committed
8bf99ae3a9f12d105a70d6fda93dddde4adeee8f
Parent: 75ff1af
Committed by GitHub <noreply@github.com> on 4/23/2026, 2:50:15 AM