Finding keyword arguments in the documentation
Peter Otten
__peter__ at web.de
Tue Sep 26 12:51:15 EDT 2017
Jerry Hill wrote:
> On Tue, Sep 26, 2017 at 12:32 PM, Peter Otten <__peter__ at 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 of python do you need to see that output from help? I'm
> not seeing it in 3.6.1 on windows:
It looks like in that particular case the transition will have to wait till
Python 3.7, but some functions should already have been changed in 3.6. Try
help(hex)
More information about the Python-list
mailing list