Re: Finding keyword arguments in the documentation

2017-09-26 Thread Peter Otten
Jerry Hill wrote: > On Tue, Sep 26, 2017 at 12:32 PM, Peter Otten <__pete...@web.de> wrote: >> Newer Python versions will show >> >> Help on built-in function sin in module math: >> >> sin(x, /) >> Return the sine of x (measured in radians). >> >> >> where the arguments before the slash are po

Re: Finding keyword arguments in the documentation

2017-09-26 Thread Jerry Hill
On Tue, Sep 26, 2017 at 12:32 PM, Peter Otten <__pete...@web.de> wrote: > Newer Python versions will show > > Help on built-in function sin in module math: > > sin(x, /) > Return the sine of x (measured in radians). > > > where the arguments before the slash are positional-only: What version o

Re: Finding keyword arguments in the documentation

2017-09-26 Thread Peter Otten
Stefan Ram wrote: > Here's a console transcript: > > |>>> from math import sin > |>>> help( sin ) > |Help on built-in function sin in module math: > | > |sin(...) > |sin(x) > | > |Return the sine of x (measured in radians). > | > |>>> sin( x = 2.0 ) > |Traceback (most recent call last):