I noticed earlier that when you call help on functions like math.pow
or math.sqrt
or most of the other functions in math (not all though). I can't seem to find any information about what this means, since its not present in the online docs and these functions don't accept an extra argument. Does anyone know what this means?
Example of what happens when calling help on math.pow
:
>>> help(math.pow)
Help on built-in function pow in module math:
pow(x, y, /)
Return x**y (x to the power of y).
I expected that the signature would be pow(x, y)
since those are the only 2 arguments accepted. However this /
argument is present as well.