[3.14] gh-119180: Document the `format` parameter in `typing.get_type_hints()` (GH-143758) by miss-islington · Pull Request #148901 · python/cpython
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.
(cherry picked from commit 8bf99ae)
Co-authored-by: Victorien 65306057+Viicos@users.noreply.github.com
📚 Documentation preview 📚: https://cpython-previews--148901.org.readthedocs.build/