On Tue, Aug 31, 2021 at 9:51 PM Steven D'Aprano <st...@pearwood.info> wrote:
> > I want to (in iPython) do:
> >
> > statistics.median?
> >
> > and see everything I need to know to use it
>
>
> Okay, so if the API is (say) this:
>
>     def median(data, *, nans='ignore'):
>         ...
>
>
> will iPython give you a list of all the other possible strings that are
> accepted? How does it know?
>

Specific example: does any linter or IDE check for this?

open(fn, encoding="utf-8", errors="strick")

ChrisA
_______________________________________________
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/DUQTURNIKSIPDBI5SWGKZR4R4WAPNUFW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to