I'm seeing the need to strip annotations from type hints after they've been fetched using get_type_hints(..., include_extras=True). There's a convenient function, typing._strip_annotations,which does exactly that. Why not make it public?
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/4EIQ2E4PRJH3GOPT2EEQ5QRNHMZMGBLJ/ Code of Conduct: http://python.org/psf/codeofconduct/