The idea is to allow a "typing=False" keyword argument to the "help"
built-in.

Sometimes a function has dozens of parameters, and several of them are
Union, Optional, or have some container specification, etc.., so the type
description can be way too long, but if one just wants to know if a
parameter with some specific name exists, all the typing stuff would be
just clutter.

Instead of "help(httpx.request)", "help(httpx.request, typing=False)" would
show the same without the typing annotation (that's the idea), and that
would make it easier to find the default values, to count the parameters,
etc..

--
Danilo J. S. Bellini
_______________________________________________
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/DOHTZJSE7YKYIHHKSXQNX464YSUESHIB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to