mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)
This commit is contained in:
parent
11205b8030
commit
1aeeaeb79e
4 changed files with 47 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue