Guido van Rossum <[email protected]> added the comment:
Yeah, the Sphinx use case is somewhat different from the originally envisioned use case for get_type_hints(). Possibly Sphinx could just directly inspect __annotations__ rather than calling get_type_hints()? I'm not sure if there's any situation where it would need the things that get_type_hints() is supposed to take care of. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue34700> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
