diff options
Diffstat (limited to 'Doc/library/inspect.rst')
| -rw-r--r-- | Doc/library/inspect.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index dfd78a9..81824dd 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -572,6 +572,10 @@ function. Raises :exc:`ValueError` if no signature can be provided, and :exc:`TypeError` if that type of object is not supported. + A slash(/) in the signature of a function denotes that the parameters prior + to it are positional-only. For more info, see + :ref:`the FAQ entry on positional-only parameters <faq-positional-only-arguments>`. + .. versionadded:: 3.5 ``follow_wrapped`` parameter. Pass ``False`` to get a signature of ``callable`` specifically (``callable.__wrapped__`` will not be used to |
