summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2019-03-10 11:30:11 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2019-03-10 11:30:11 (GMT)
commit1aeeaeb79efa4de41f97b58547e23c2965ecabc5 (patch)
tree1150b1531a70f0df3de6090231b18b0715fbe087 /Doc/library/functions.rst
parent11205b80309a01666eefee2301a244aa73a4c450 (diff)
downloadcpython-1aeeaeb79efa4de41f97b58547e23c2965ecabc5.zip
cpython-1aeeaeb79efa4de41f97b58547e23c2965ecabc5.tar.gz
cpython-1aeeaeb79efa4de41f97b58547e23c2965ecabc5.tar.bz2
bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index ebbee71..ae0c9fb 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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