bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)

This commit is contained in:
Lysandros Nikolaou 2019-03-10 12:30:11 +01:00 committed by Nick Coghlan
parent 11205b8030
commit 1aeeaeb79e
4 changed files with 47 additions and 0 deletions

View file

@ -669,6 +669,11 @@ are always available. They are listed here in alphabetical order.
topic, and a help page is printed on the console. If the argument is any other
kind of object, a help page on the object is generated.
Note that if a slash(/) appears in the parameter list of a function, when
invoking :func:`help`, it means that the parameters prior to the slash are
positional-only. For more info, see
:ref:`the FAQ entry on positional-only parameters <faq-positional-only-arguments>`.
This function is added to the built-in namespace by the :mod:`site` module.
.. versionchanged:: 3.4