On Sat, Oct 2, 2021, 10:40 AM Ricky Teachey <ri...@teachey.org> wrote:
> Just spitballing but how about any.obj as an alias for typing.Any? It > suffers from the same problem as using naked any- which is that any doesn't > really have anything to do with type hinting... but it doesn't suffer from > the problem of having to convert any to a type. It would just grow a class > attribute referring to typing.any. And it seems pretty readable to me. > > Rick. > Sorry I should have said function attribute, not class attribute. Hopefully it was clear. >
_______________________________________________ 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/MB4WIP4REAPCKFMQTADEEY2GBQ7DFCNS/ Code of Conduct: http://python.org/psf/codeofconduct/